Bpython

Latest version: v0.25

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

Scan your dependencies

Page 4 of 11

0.13.1

-------

A bugfix release. The fixed bugs are:

* 287: Turned off dictionary completion in bpython-curtsies
* 281: Fixed a crash on error-raising properties
* 286: Fixed input in Python 3
* 293: Added encoding attribute to stdin bpython curtsies
* 296: Fixed warnings in import completion for Python 3
* 290: Stop using root logger
* 301: Specify curtsies version in requirements

There's also a necessary regression: 232 (adding fileno() on stdin)
is reintroduced because its previous fix was found to be the cause of 286

0.13

----

There are a few new features, a bunch of bugfixes, and a new frontend
for bpython in this release.

* Dictionary key completion, thanks to Maja Frydrychowicz (226).
To use normal completion and ignore these key completions, type a space.
* Edit current line in external editor: ctrl-x (161)

Fixes:

* Python 2.5 compatibility, thanks to Michael Schuller (279). Python 2.5
is not officially supported, but after few changes Michael introduced, he
says it's working fine.
* FakeStream has flush(), so works correctly with
django.core.email.backends.console thanks to Marc Sibson (259)
* FakeStdin has fileno() (232)
* Changes to sys.ps1 and sys.ps2 are respected thanks to Michael Schulle (267)
* atexit registered functions run on exit (258)
* fixed an error on exit code when running a script with bpython script.py (260)
* setup.py extras are used to define dependencies for urwid and
curtsies frontends

There's a new frontend for bpython: bpython-curtsies. Curtsies is a terminal
wrapper written to making native scrolling work in bpython. (56, 245)
Try bpython-curtsies for the bpython experience with a vanilla python
layout. (demo:
http://ballingt.com/assets/bpython-curtsies-scroll-demo-large.gif)

This curtsies frontend addresses some issues unfixed in bpython-cli, and has
a few extra features:

* Editing full interpreter history in external editor with F7, which is rerun
as in rewind
* A new interpreter is used for rewind, unless bpython-curtsies was started
with custom locals or in interactive mode (71)
* Ctrl-c behaves more like vanilla python (177)
* Completion still works if cursor at the end of the line (147)
* Movement keys meta-b, meta-f, and meta-backspace, ctrl-left and ctrl-right
are all honored (246, 201)
* Non-ascii characters work in the file save prompt (236)
* New --type / -t option to run the contents of a file as though they were
typed into the bpython-curtsies prompt

A few things about bpython-curtsies are worse than regular bpython:

* Bad things can happen when using several threads (265)
* output prints slowly (262)
* bpython-curtsies can't be backgrounded and resumed correctly (via ctrl-z,
fg) (274)

There are two new options in the new [curtsies] section of the bpython config

* list_above: whether completion window can cover text above the current line;
defaults to True
* fill_terminal: whether bpython-curtsies should be fullscreen (like bpython);
defaults to False

0.12

----

We want to give special thanks to the Hacker School project-
(https://www.hackerschool.com/) for choosing bpython as their pet hacking
project. In special we would like to thank the following people for contributing
their code to bpython:

- Martha Girdler
- Allison Kaptur
- Ingrid Cheung

We'd also like to thank Eike Hein for contributing his pastebin code which now
makes it possible to paste using a 3rd party program unlocking a whole slew of
pastebins for bpython users.

* Added a new pastebin_helper config option to name an executable that should
perform pastebin upload on bpython's behalf. If set, this overrides
pastebin_url. Data is supplied to the helper via STDIN, and it is expected
to return a pastebin URL as the first word of its output.
* Fixed a bug causing pastebin upload to fail after a previous attempt was
unsuccessful. A duplicate pastebin error would be displayed in this case,
despite the original upload having failed.
* Added more key shortcuts to bpython.urwid
* Smarter dedenting after certain expressions
* 74 fixed broken completion when auto_display_list was disabled

We also have done numerous cleanup actions including building the man pages from
our documentation. Including the documentation in the source directory. Some
minor changes to the README to have EOL 79 and changes to urwid to work better
without twisted installed.

* Fix ungetch issues with Python 3.3. See issues 230, 231.

0.11

----

A bugfix/cleanup release .The fixed bugs are:

* 204: "import math" not autocompleting on python 3.2

Otherwise lots of small additions to the to be replacement for our ncurses
frontend, the urwid frontend.

I'd like to specifically thank Amjith Ramanujam for his work on history search
which was further implemented and is in working order right now.

0.10.1

------

A bugfix release. The fixed bugs are:

* 197: find_modules crashes on non-readable directories
* 198: Source tarball lacks .po files

0.10

----
As a highlight of the release, Michele Orrù added i18n support to bpython.

Some issues have been resolved as well:

* Config files are now located according to the XDG Base Directory
Specification. The support for the old bpythonrc files has been
dropped and ~/.bpython.ini as config file location is no longer supported.
See issue 91.
* Fixed some issues with tuple unpacking in argspec. See issues 133 and 138.
* Fixed a crash with non-ascii filenames in import completion. See issue 139.
* Fixed a crash caused by inspect.findsource() raising an IndexError
which happens in some situations. See issue 94.
* Non-ascii input should work now under Python 3.
* Issue 165: C-a and C-e do the right thing now in urwid.
* The short command-line option "-c config" was dropped as it conflicts with
vanilla Python's "-c command" option. See issue 186.

Page 4 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.