CPython's REPL prints possible autocompletions after pressing Tab once
まだ誰も着手していません。
評価
調査の方向性
RustPython の REPL で single-Tab の例を再現し、示されている CPython の挙動と比較する。REPL のオートコンプリートのエントリポイントを追跡する。完了条件は、issue に記載された期待される補完、候補表示、モジュール名の出力、関数の括弧の挙動に一致すること。
索引モデルが issue の本文から書いたものです。
説明
Type in the following in the REPL and press Tab once:
import contextlib
contextlib.redirect
CPython:
>>> import contextlib
>>> contextlib.redirect
contextlib.redirect_stderr( contextlib.redirect_stdout(
>>> contextlib.redirect_std
RustPython:
>>>>> import contextlib
>>>>> contextlib.redirect_std
it completes up to the first ambiguity, but doesn't print any suggestions unless you press Tab twice:
>>>>> import contextlib
>>>>> contextlib.redirect_std
redirect_stderr redirect_stdout
>>>>> contextlib.redirect_std
and I guess you can see the other minor incompatibilities: it doesn't print the name of the module in the results or autocomplete a ( for functions.
- 主要言語
- Rust
- スター
- 22.4k
- フォーク
- 1.5k
- 平均マージ
- 15時間 18分
- マージ済み PR(30日)
- 172
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustPython/RustPython のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RustPython/RustPython#8470 · コメント 2 件 ·
-
C-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RustPython/RustPython#7995 · コメント 5 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
RustPython/RustPython#5577 ·
-
C-bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
RustPython/RustPython#8685 · コメント 7 件 · リアクション 1 件 ·
-
C-compat
RustPython/RustPython#8496 · コメント 1 件 · 担当者 1 名 ·
RustPython/RustPython の issue をすべて見る
似ている issue
-
area: compat bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
area: dogs bug priority: P3 silent failure test-code
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
MystenLabs/sui#28056 · コメント 1 件 ·
-
type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Luminous-Dynamics/mycelix#2577 ·