Bpython

Latest version: v0.24

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

0.25

----

General information:


New features:


Fixes:


Changes to dependencies:

0.24

----

General information:

* This release is focused on Python 3.11 support.

New features:

* 980: Add more keywords to trigger auto-deindent.
Thanks to Eric Burgess

Fixes:

* Improve inspection of builtin functions.

Changes to dependencies:

* wheel is no required as part of pyproject.toml's build dependencies

Support for Python 3.11 has been added.

0.23

----

General information:

* More and more type annotations have been added to the bpython code base.
* Some work has been performed to stop relying on blessings.

New features:

* 905: Auto-closing brackets option added. To enable, add `brackets_completion = True` in the bpython config
Thanks to samuelgregorovic

Fixes:

* Improve handling of SyntaxErrors
* 948: Fix crash on Ctrl-Z
* 952: Fix tests for Python 3.10.1 and newer
* 955: Handle optional `readline` parameters in `stdin` emulation
Thanks to thevibingcat
* 959: Fix handling of `__name__`
* 966: Fix function signature completion for `classmethod`

Changes to dependencies:

* curtsies 0.4 or newer is now required

Support for Python 3.6 has been dropped.

0.22.1

------

Fixes:

* 938: Fix missing dependency on typing_extensions.
Thanks to Dustin Rodrigues

0.22

----

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.

0.21

----

General information:

* Support for Python 2 has been dropped.

New features:

* 643: Provide bpython._version if built from Github tarballs
* 849: Make import completion skip list configurable
* 876: Check spelling with codespell
Thanks to Christian Clauss

Fixes:

* 847: Fix import completion of modules
* 857: Replace remaining use of deprecated imp with importlib
* 862: Upgrade curtsies version requirements
Thanks to Kelsey Blair
* 863: State correct default config file directory
Thanks to niloct
* 866: Add more directories to the default import completion skip list
* 873: Handle 'd' when mapping colors
* 874: Avoid breakage with six's importer

Changes to dependencies:

* curtsies >= 0.3.5 is now required
* pyxdg is now required
* wcwidth has been replaced with cwcwidth

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.