ipython / ipython/ipykernel

Variable explorer displays functions with a leading underscore

Aberta
#1,072 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
734
Forks
412
Merge médio
1d 5h
PRs com merge (30d)
8

Descrição

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)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.