Bpython

Latest version: v0.25

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

Scan your dependencies

Page 5 of 11

0.9.7.1

-------

A bugfix release. The fixed bugs are:

* 128: bpython-gtk is broken
* 134: crash when using pastebin and no active internet connection

0.9.7

-----

Well guys. It's been some time since the latest release, six months have passed
We have added a whole slew of new features, and closed a number of bugs as well.

We also have a new frontend for bpython. Marien Zwart contributed a urwid
frontend as an alternative for the curses frontend. Be aware that there still
is a lot to fix for this urwid frontend (a lot of the keyboard shortcuts do not
yet work for example) but please give it a good spin. Urwid also optionally
integrates with a Twisted reactor and through that with things like the GTK
event loop.

At the same time we have done a lot of work on the GTK frontend. The GTK
frontend is now 'usable'. Please give that a spin as well by running bpython-gtk
on you system.

We also welcome a new contributor in the name of Michele Orrù who we hope will
help us fix even more bugs and improve functionality.

As always, please submit any bugs you might find to our bugtracker.

* Pastebin confirmation added; we were getting a lot of people accidentally
pastebinning sensitive information so I think this is a good idea.
* Don't read PYTHONSTARTUP when executed with -i.
* BPDB was merged in. BPDB is an extension to PDB which allows you to press B
in a PDB session which will let you be dropped into a bpython sessions with
the current PDB locals(). For usage, see the documentation.
* The clear word shortcut (default: C-w) now deletes to the buffer.
* More tests have been added to bpython.
* The pastebin now checks for a previous paste (during the session) with the
exact same content to guard against twitchy fingers pastebinning multiple
times.
* Let import completion return "import " instead of "import".

* GTK now has pastebin, both for full log as well as the current selection.
* GTK now has write2file.
* GTK now has a menu.
* GTK now has a statusbar.
* GTK now has show source functionality.
* GTK saves the pastebin url to the clipboard.
* GTK now has it's own configuration section.
* Set focus to the GTK text widget to allow for easier embedding in PIDA and
others which fixes issues 121.

* 87: Add a closed attribute to Repl to fix mercurial.ui.ui expecting stderr
to have this attribute.
* 108: Unicode characters in docstring crash bpython
* 118: Load_theme is not defined.
* 99: Configurable font now documented.
* 123: <F8> Pastebin can't handle 'ESC' key
* 124: Unwanted input when using <arrow>/<FXX> keys in the statusbar prompt.

0.9.6.2

-------
Unfortunately another bugfix release as I (Bob) broke py3 support.

* 84: bpython doesn't work with Python 3
Thanks very much to Henry Prêcheur for both the bug report and the
patch.

0.9.6.1

-------
A quick bugfix release (this should not become a habit).

* 82: Crash on saving file.

0.9.6

------
A bugfix/feature release (and a start at gtk). Happy Christmas everyone!

* 67: Make pastebin URL really configurable.
* 68: Set a __main__ module and set interpreter's namespace to that module.
* 70: Implement backward completion on backward tab.
* 62: Hide matches starting with a _ unless explicitly typed.
* 72: Auto dedentation
* 78: Theme without a certain value raises exception

- add the possibility for a banner to be shown on bpython startup (when
embedded or in code) written by Caio Romao.
- add a hack to add a write() method to our fake stdin object
- Don't use curses interface when stdout is not attached to a terminal.
- PEP-8 conformance.
- Only restore indentation when inside a block.
- Do not decrease the lineno in tracebacks for Py3
- Do not add internal code to history.
- Make paren highlighting more accurate.
- Catch SyntaxError in import completion.
- Remove globals for configuration.
- rl_history now stays the same, also after undo.

0.9.5.2

-------

A bugfix release. Fixed issues:

* 60: Filename expansion: Cycling completions and deleting
* 61: Filename expansion: Directory names with '.'s get mangled

Other fixes without opened issues:

* Encode items in the suggestion list properly
* Expand usernames in file completion correctly
* future imports in startup scripts can influence interpreter's behaviour now
* Show the correct docstring for types without a own __init__ method

Page 5 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.