bpython v0.22 Release Notes

  • 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
    • 0๏ธโƒฃ #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.