Enum support?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, python
- 領域
- compilers
調査の方向性
Start by reproducing the compile failure from src/components/MSTQuery/mstquery.py and trace the import chain through mstat/record.py, enum.py, types.py, and _collections_abc. Check how Transcrypt handles these standard-library imports and whether the failure is specific to enum support. Done means the reported package compiles successfully with enum.Enum, or the supported limitation is documented.
索引モデルが issue の本文から書いたものです。
説明
I'm not sure if I'm missing something, but does Transcrypt support the enum module in the standard library?
I'm getting this error when trying to compile a package that uses enum.Enum:
Parsing module: /usr/lib/python3.8/enum.py
Generating code for module: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/enum.js
Parsing module: /home/dophin2009/.cache/pypoetry/virtualenvs/stogacs.club-55z-L0OC-py3.8/lib/python3.8/site-packages/transcrypt/modules/warnings/__init__.py
Generating code for module: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/warnings.js
Saving source map in: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/warnings.map
Saving target code in: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/warnings.js
Parsing module: /usr/lib/python3.8/types.py
Generating code for module: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/types.js
Parsing module: /usr/lib/python3.8/_collections_abc.py
Generating code for module: /home/dophin2009/files/lfs/programming/stogacs/stogacs.club/__target__/_collections_abc.js
Error while compiling (offending file last):
File '/home/dophin2009/files/lfs/programming/stogacs/stogacs.club/src/components/MSTQuery/mstquery.py', line 6, at import of:
File '/home/dophin2009/.cache/pypoetry/virtualenvs/stogacs.club-55z-L0OC-py3.8/src/mstat/mstat/__init__.py', line 7, at import of:
File '/home/dophin2009/.cache/pypoetry/virtualenvs/stogacs.club-55z-L0OC-py3.8/src/mstat/mstat/record.py', line 3, at import of:
File '/usr/lib/python3.8/enum.py', line 2, at import of:
File '/usr/lib/python3.8/types.py', line 275, at import of:
File '_collections_abc', line 56, namely:
Can't import module '_collections_abc'
Aborted
- 主要言語
- Python
- スター
- 2.9k
- フォーク
- 218
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TranscryptOrg/Transcrypt のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TranscryptOrg/Transcrypt#913 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
TranscryptOrg/Transcrypt#911 · コメント 2 件 ·
-
IS: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
TranscryptOrg/Transcrypt#908 ·
-
SUB: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
TranscryptOrg/Transcrypt#656 · コメント 7 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
TranscryptOrg/Transcrypt#914 ·
TranscryptOrg/Transcrypt の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
zostera/django-bootstrap4#894 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
use-agent-os/agent-os#3276 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#117848 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zilliztech/memsearch#759 ·