Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

shift+tab completion on chained methods

オープン
#1,065 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter, jupyter-notebook, python
領域
backend

調査の方向性

int().as_integer_ratio().count( と Shift+Tab を使って Jupyter ノートブックで動作を再現し、その後、文書化されている XPython Raw カーネルの動作と比較します。チェーンされたメソッドの docstring またはシグネチャの表示に関係する ipython/ipykernel の処理を追跡します。再現ケースでシグネチャが一貫して表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

The behaviour in this issue has been raised previously in https://github.com/jupyterlab/jupyterlab/issues/12570 and https://github.com/altair-viz/altair/pull/2770#issuecomment-1364100231.

It seems it is not possible to make the docstring/function signature appear for chained methods using ipython/ipykernel.

See the following screencast:
ezgif com-gif-maker-9

As can be seen this can be reproduced with the following procedure:
Copy the following in a Jupyter notebook

int().as_integer_ratio().count(

Press shift+tab to try to make the docstring/function signature appear.
Result, nothing happens.

When doing the same using a XPython Raw kernel (through xeus-python) the docstring/function signature does appear. See following screencast:
ezgif com-gif-maker-10

主要言語
Python
スター
734
フォーク
411
平均マージ
1日 2時間
マージ済み PR(30日)
9

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ipython/ipykernel のほかの issue

ipython/ipykernel の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。