FS#32035 - [bpython] fails with python 3.3

Attached to Project: Community Packages
Opened by Simonas (nagi) - Wednesday, 17 October 2012, 18:17 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 21 October 2012, 09:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
$ bpython # Then write any character
Traceback (most recent call last):
File "/usr/bin/bpython", line 9, in <module>
load_entry_point('bpython==0.11', 'console_scripts', 'bpython')()
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1863, in main
banner=banner)
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1762, in curses_wrapper
return func(stdscr, *args, **kwargs)
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1832, in main_curses
clirepl.repl()
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1091, in repl
inp = self.get_line()
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 647, in get_line
key = self.get_key()
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 625, in get_key
self.idle(self)
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1700, in idle
curses.ungetch(key)
OverflowError: byte doesn't fit in chtype

Additional info:
* package version(s)
python 3.3.0-1
bpython 0.11-2

Steps to reproduce:
$ bpython
Enter any character
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 21 October 2012, 09:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  bpython 0.11-3
Comment by Bartłomiej Piotrowski (Barthalion) - Thursday, 18 October 2012, 17:33 GMT
I reported the issue on the upstream bugtracker[1].

[1] https://bitbucket.org/bobf/bpython/issue/230/doesnt-work-under-python-33

Loading...