← Winnitude! Search  ·  Reader Mode (1254 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 16 LINKS

More general adaptation of showsyntaxerror() to Python 3.13 by pushkarnk · Pull Request #1030 · bpython/bpython

Repository navigation

More general adaptation of showsyntaxerror() to Python 3.13 - #1030


Merged
sebastinas merged 1 commit into bpython:main from pushkarnk:showsyntaxerror-update Jan 16, 2025
Merged

More general adaptation of showsyntaxerror() to Python 3.13 #1030 sebastinas merged 1 commit into bpython:main from pushkarnk:showsyntaxerror-update

Conversation

pushkarnk commented Jan 16, 2025



Copy link Copy Markdown
Contributor

Python 3.13's code.InteractiveInterpreter adds a new **kwargs argument to its showsyntaxerror() method. Currently, the only use of it is to send a named argument of name "source". Whilst the current adapation of repl.Interpreter is specific and should work in the short term, here is a more general solution.

More general adaptation of showsyntaxerror() to Python 3.13 400f5ed
Python 3.13's code.InteractiveInterpreter adds a new **kwargs
argument to its showsyntaxerror() method. Currently, the only
use of it is to send a named argument of name "source". Whilst
the current adapation of repl.Interpreter is specific and should
work in the short term, here is a more general solution.
sebastinas merged commit 72d8e61 into bpython : main Jan 16, 2025 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants