ipython / ipython/ipykernel

Variable explorer displays functions with a leading underscore

オープン
#1,072 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

The `inspectVariables` request and the variable explorer panel in the debugger seems to display functions with a leading underscore.

Here's a simple repro

```
def _abc():
return "Hello"

def abc():
return "Hello"
```

In the above code snippet, `_abc` will appear in the "Variables" panel whereas `abc` will not, as demonstrated below

![SCR-20230105-nlp](https://user-images.githubusercontent.com/43826141/210908421-0fc99ca9-6908-4313-9db7-af930fc14256.png)

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

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

評価

この issue はまだ評価されていません。

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

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