Skip to content

Commit 23e1eac

Browse files
committed
Merge
2 parents 5764b2e + a7dd608 commit 23e1eac

File tree

5 files changed

+53
-10
lines changed

5 files changed

+53
-10
lines changed

CHANGELOG

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,55 @@ Changelog
44
v0.9.7
55
------
66

7+
Well guys. It's been some time since the latest release, six months have passed
8+
We have added a whole slew of new features, and closed a number of bugs as well.
9+
10+
We also have a new frontend for bpython. Marien Zwart contributed a urwid
11+
frontend as an alternative for the curses frontend. Be aware that there still
12+
is a lot to fix for this urwid frontend (a lot of the keyboard shortcuts do not
13+
yet work for example) but please give it a good spin. Urwid also optionally
14+
integrates with a Twisted reactor and through that with things like the GTK
15+
event loop.
16+
17+
At the same time we have done a lot of work on the GTK frontend. The GTK
18+
frontend is now 'usable'. Please give that a spin as well by running python-gtk
19+
on you system.
20+
21+
We also welcome a new contributor in the name of Michele Orrù who we hope will
22+
help us fix even more bugs and improve functionality.
23+
24+
As always, please submit any bugs you might find to our bugtracker.
25+
726
* Pastebin confirmation added; we were getting a lot of people accidentally
827
pastebinning sensitive information so I think this is a good idea.
9-
* GTK now has pastebin, both for full log as well as the current selection
10-
* GTK now has write2file
11-
* GTK now has a menu
12-
* GTK now has a statusbar
13-
14-
* #121: GTK set default focus to repl widget
28+
* Don't read PYTHONSTARTUP when executed with -i.
29+
* BPDB was merged in. BPDB is an extension to PDB which allows you to press B
30+
in a PDB session which will let you be dropped into a bpython sessions with
31+
the current PDB locals(). For usage, see the documentation.
32+
* The clear word shortcut (default: C-w) now deletes to the buffer.
33+
* More tests have been added to bpython.
34+
* The pastebin now checks for a previous paste (during the session) with the
35+
exact same content to guard against twitchy fingers pastebinning multiple
36+
times.
37+
* Let import completion return "import " instead of "import".
38+
39+
* GTK now has pastebin, both for full log as well as the current selection.
40+
* GTK now has write2file.
41+
* GTK now has a menu.
42+
* GTK now has a statusbar.
43+
* GTK now has show source functionality.
44+
* GTK saves the pastebin url to the clipboard.
45+
* GTK now has it's own configuration section.
46+
* Set focus to the GTK text widget to allow for easier embedding in PIDA and
47+
others which fixes issues #121.
48+
49+
* #87: Add a closed attribute to Repl to fix mercurial.ui.ui expecting stderr
50+
to have this attribute.
51+
* #108: Unicode characters in docsrting crash bpython
1552
* #118: Load_theme is not defined.
1653
* #99: Configurable font now documented.
54+
* #123: <F8> Pastebin can't handle 'ESC' key
55+
* #124: Unwanted input when using <arrow>/<FXX> keys in the statusbar prompt.
1756

1857

1958
v0.9.6.2

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ include doc/*.[0-9]
99
include sample-config
1010
include *.theme
1111
include bpython/logo.png
12+
include ROADMAP
13+
include TODO
14+
include bpython/test/*.py
15+
include bpython/test/*.theme

bpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# THE SOFTWARE.
2222

2323

24-
__version__ = 'dev'
24+
__version__ = '0.9.7'
2525

2626

2727
def embed(locals_=None, args=['-i', '-q'], banner=None):

bpython/gtk_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def do_key_press_event(self, event):
505505
if self.list_win_visible:
506506
self.list_win.back()
507507
else:
508-
if not self.rl_history.is_at_end():
508+
if not self.rl_history.is_at_end:
509509
self.rl_history.enter(self.current_line())
510510
self.change_line(self.rl_history.back())
511511
self.text_buffer.place_cursor(self.get_line_end_iter())
@@ -514,7 +514,7 @@ def do_key_press_event(self, event):
514514
if self.list_win_visible:
515515
self.list_win.forward()
516516
else:
517-
if not self.rl_history.is_at_start():
517+
if not self.rl_history.is_at_start:
518518
self.rl_history.enter(self.current_line())
519519
self.change_line(self.rl_history.forward())
520520
self.text_buffer.place_cursor(self.get_line_end_iter())

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def initialize_options(self):
7676
install_requires = [
7777
'pygments'
7878
],
79-
packages = ["bpython"],
79+
packages = ["bpython", "bpdb"],
8080
data_files = data_files,
8181
package_data = {'bpython': ['logo.png']},
8282
entry_points = {

0 commit comments

Comments
 (0)