bpython 0.22 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.