Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpython 0.22 release

Choose a tag to compare

@supakeen supakeen released this 07 Nov 21:18
· 338 commits to main since this release

General information:

  • The #bpython channel has moved to OFTC.
  • Type annotations have been added to the bpython code base.
  • Declarative build configuration is used as much as possible.

New features:

  • #883: Allow auto-completion to be disabled
  • #841: Respect locals when using bpython.embed
  • Use pyperclip for better clipboard handling

Fixes:

  • #700, #884: Fix writing of b"" on fake stdout
  • #879: Iterate over all completers until a successful one is found
  • #882: Handle errors in theme configuration without crashing
  • #888: Read PYTHONSTARTUP with utf8 as encoding
  • #896: Use default sys.ps1 and sys.ps2 if user specified ones are not usable
  • #902: Do not crash when encountering unreadable files while processing modules for import completion
  • #909: Fix sys.stdin.readline
  • #917: Fix tab completion for dict keys
  • #919: Replicate python behavior when running with -i and a non-existing file
  • #932: Fix handling of signature for completion. Thanks to gpotter2

Changes to dependencies:

  • pyperclip is a new optional dependency for clipboard support
  • backports.cached-property is now required for Python < 3.8
  • dataclasses is now required for Python < 3.7
  • Support for Python 3.10 has been added.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.