alexmojaki / alexmojaki/birdseye

Expressions inside f-strings don't get observed

Aberta
#102 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
1.7k
Forks
73
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I have written a lot of little Python3 scripts by now and now I discovered the "Birdseye" debugger in Thonny and tried it out. It's honestly a great debugger with one big flaw:
Inside an f-string, for example
```python3
try:
raise SyntaxError('Oops!')
except Exception as e:
print(f'{type(e).__name__}: {e}')
```
It correctly prints out `SyntaxError: Oops!` but in Birdseye the f-string is just one block:
![birdseye](https://user-images.githubusercontent.com/94976382/197704238-5eaec3b4-87c3-440b-ab29-95652dda20ef.png)
Would it be possible to split up the f-string into its methods and string parts in Birdseye?

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.