All Versions
75
Latest Version
Avg Release Cycle
110 days
Latest Release
-

Changelog History
Page 4

  • v0.14 Changes

    πŸš€ This release contains major changes to the frontends:

    • 0️⃣ curtsies is the new default frontend.
    • The old curses frontend is available as bpython-curses.
    • 🚚 The GTK+ frontend has been removed.

    πŸ†• New features:

    • #194: Syntax-highlighted tracebacks. Thanks to Miriam Lauter.
    • #234: Copy to system clipboard.
    • #285: Re-evaluate session and reimport modules.
    • #313: Warn when undo may take cause extended delay, and prompt to undo multiple lines.
    • #322: Watch imported modules for changes and re-evaluate on changes.
    • #328: bpython history not re-evaluated to edit a previous line of a multiline statement.
    • #334: readline command Meta-. for yank last argument. Thanks to Susan Steinman and Steph Samson.
    • #338: bpython help with F1.
    • #354: Edit config file from within bpython.
    • πŸ‘ #382: Partial support for pasting in text with blank lines.
    • #410: Startup banner that shows Python and bpython version
    • #426: Experimental multiline autocompletion.
    • πŸ’… fish style last history completion with Arrow Right. Thanks to Nicholas Sweeting.
    • πŸ’… fish style automatic reverse history search with Arrow Up. Thanks to Nicholas Sweeting.
    • Incremental forward and reverse search.
    • All readline keys which kill/cut text correctly copy text for paste with Ctrl-y or Meta-y.
    • 🌐 French translation.
    • Removal links for bpaste pastebins are now displayed.
    • More informative error messages when source cannot be found for an object. Thanks to Liudmila Nikolaeva and Miriam Lauter.
    • βͺ Message displayed if history in scrollback buffer is inconsistent with output from last re-evaluation of bpython session. Thanks to Susan Steinman.
    • 🌲 Adjust logging level with -L or -LL.
    • String literal attribute completion.

    πŸ›  Fixes:

    • πŸ‘ #254: Use ASCII characters if Unicode box characters are not supported by the terminal.
    • #284: file is in scope after module run with bpython -i. Thanks to Lindsey Raymond.
    • πŸ›  #347: Fixed crash on unsafe autocompletion.
    • πŸ›  #349: Fixed writing newlines to stderr.
    • πŸ›  #363: Fixed banner crashing bpython-urwid. Thanks to Luca Barbato.
    • πŸ›  #366, #367: Fixed help() support in curtsies.
    • #369: Interactive sessions inherit compiler directives from files run with -i interactive flag.
    • πŸ›  #370, #401, #440, #448, #468, #472: Fixed various display issues in curtsies.
    • πŸ›  #391: Fixed crash when using Meta-backspace. Thanks to Tony Wang.
    • πŸ›  #438, #450: bpython-curtsies startup behavior fixed. Errors during startup are reported instead of crashing.
    • πŸ›  #447: Fixed behavior of duplicate keybindings. Thanks to Keyan Pishdadian.
    • πŸ›  #458: Fixed dictionary key completion crash in Python 2.6. Thanks to Mary Mokuolu.
    • πŸ“š Documentation fixes from Lindsey Raymond.
    • πŸ›  Fixed filename completion.
    • πŸ›  Fixed various Unicode issues in curtsies.
    • πŸ›  Fixed and re-enabled dictionary key completion in curtsies.

    The commandline option --type / -t has been renamed to --paste / -p.

    πŸ‘ Python 2.6, 2.7, 3.3 and newer are supported. Support for 2.5 has been dropped. Furthermore, it is no longer necessary to run 2to3 on the source code.

    πŸš€ This release brings a lot more code coverage, a new contributing guide, and most of the code now conforms to PEP-8.

    πŸ”„ Changes to dependencies:

    • greenlet and curtsies are no longer optional.
    • six is a new dependency.
    • jedi is a new optional dependency required for multiline completion.
    • watchdog is a new optional dependency required for watching changes in imported modules.
  • v0.13.2 Changes

    πŸ›  A bugfix release. The fixed bugs are:

    • #424: Use new JSON API at bpaste.net.
    • πŸ›  #430: Fixed SNI issues with new pastebin service on Mac OS X.
    • πŸ›  #432: Fixed crash in bpython-curtsies in special circumstances if history file is empty. Thanks to Lisa van Gelder.

    πŸ”„ Changes to dependencies:

    • requests is a new dependency.
    • PyOpenSSL, ndg-httpsclient and pyasn1 are new dependencies on Mac OS X.
  • v0.13.1 Changes

    πŸ›  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

  • v0.13 Changes

    πŸ›  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
  • v0.12 Changes

    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.
  • v0.11 Changes

    πŸ›  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.

  • v0.10.1 Changes

    πŸ›  A bugfix release. The fixed bugs are:

    • #197: find_modules crashes on non-readable directories
    • #198: Source tarball lacks .po files
  • v0.10 Changes

    πŸš€ 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.
  • v0.9.7 Changes

    πŸš€ 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.
    • 0️⃣ 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: Pastebin can't handle 'ESC' key

    • 124: Unwanted input when using / keys in the statusbar prompt.

  • v0.9.7.1 Changes

    πŸ›  A bugfix release. The fixed bugs are:

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