|
1 | 1 | Changelog
|
2 | 2 | =========
|
3 | 3 |
|
| 4 | +0.13 |
| 5 | +---- |
| 6 | + |
| 7 | +There are a few new features, a bunch of bugfixes, and a new frontend |
| 8 | +for bpython in this release. |
| 9 | + |
| 10 | +* Dictionary key completion, thanks to Maja Frydrychowicz (#226). |
| 11 | + To use normal completion and ignore these key completions, type a space. |
| 12 | +* Edit current line in external editor: ctrl-x (#161) |
| 13 | + |
| 14 | +Fixes: |
| 15 | + |
| 16 | +* Python 2.5 compatibility, thanks to Michael Schuller (#279). Python 2.5 |
| 17 | + is not officially supported, but after few changes Michael introduced, he |
| 18 | + says it's working fine. |
| 19 | +* FakeStream has flush(), so works correctly with |
| 20 | + django.core.email.backends.console thanks to Marc Sibson (#259) |
| 21 | +* FakeStdin has fileno() (#232) |
| 22 | +* Changes to sys.ps1 and sys.ps2 are respected thanks to Michael Schulle (#267) |
| 23 | +* atexit registered functions run on exit (#258) |
| 24 | +* fixed an error on exit code when running a script with bpython script.py (#260) |
| 25 | +* setup.py extras are used to define dependencies for urwid and |
| 26 | + curtsies frontends |
| 27 | + |
| 28 | +There's a new frontend for bpython: bpython-curtsies. Curtsies is a terminal |
| 29 | +wrapper written to making native scrolling work in bpython. (#56, #245) |
| 30 | +Try bpython-curtsies for the bpython experience with a vanilla python |
| 31 | +layout. (demo: |
| 32 | +http://ballingt.com/assets/bpython-curtsies-scroll-demo-large.gif) |
| 33 | + |
| 34 | +This curtsies frontend addresses some issues unfixed in bpython-cli, and has |
| 35 | +a few extra features: |
| 36 | + |
| 37 | +* Editing full interpreter history in external editor with F7, which is rerun |
| 38 | + as in rewind |
| 39 | +* A new interpreter is used for rewind, unless bpython-curtsies was started |
| 40 | + with custom locals or in interactive mode (#71) |
| 41 | +* Ctrl-c behaves more like vanilla python (#177) |
| 42 | +* Completion still works if cursor at the end of the line (#147) |
| 43 | +* Movement keys meta-b, meta-f, and meta-backspace, ctrl-left and ctrl-right |
| 44 | + are all honored (#246, #201) |
| 45 | +* Non-ascii characters work in the file save prompt (#236) |
| 46 | +* New --type / -t option to run the contents of a file as though they were |
| 47 | + typed into the bpython-curtsies prompt |
| 48 | + |
| 49 | +A few things about bpython-curtsies are worse than regular bpython: |
| 50 | + |
| 51 | +* Bad things can happen when using several threads (#265) |
| 52 | +* output prints slowly (#262) |
| 53 | +* bpython-curtsies can't be backgrounded and resumed correctly (via ctrl-z, |
| 54 | + fg) (#274) |
| 55 | + |
| 56 | +There are two new options in the new [curtsies] section of the bpython config |
| 57 | + |
| 58 | +* list_above: whether completion window can cover text above the current line; |
| 59 | + defaults to True |
| 60 | +* fill_terminal: whether bpython-curtsies should be fullscreen (like bpython); |
| 61 | + defaults to False |
| 62 | + |
4 | 63 | 0.12
|
5 | 64 | ----
|
6 | 65 |
|
@@ -473,3 +532,4 @@ way with curses and sizing of windows and things...
|
473 | 532 | I've also got bpython to try looking into pydoc if no matches
|
474 | 533 | are found for the argspec, which means the builtins have argspecs
|
475 | 534 | too now, hooray.
|
| 535 | + |
0 commit comments