-
-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Labels
Description
Traceback (most recent call last):
File "./bpython", line 6, in <module>
sys.exit(main())
File "/home/henry/.local/lib/python3.1/site-packages/bpython/cli.py", line 1594, in ma n
banner=banner)
File "/home/henry/.local/lib/python3.1/site-packages/bpython/cli.py", line 1496, in cu ses_wrapper
return func(stdscr, *args, **kwargs)
File "/home/henry/.local/lib/python3.1/site-packages/bpython/cli.py", line 1551, in ma n_curses
repl.startup()
File "/home/henry/.local/lib/python3.1/site-packages/bpython/repl.py", line 313, in st rtup
self.interp.runsource(f.read(), filename, 'exec', encode=False)
TypeError: runsource() got an unexpected keyword argument 'encode'
The attached patch fixes the problem.
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/84
- Originally Reported By: Henry Prêcheur
- Originally Created At: 2009-12-31T05:39:31.654