← 返回首页
More general adaptation of showsyntaxerror() to Python 3.13 by pushkarnk · Pull Request #1030 · bpython/bpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

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

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

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

Conversation

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.

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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.