X Tutup
Skip to content

Crash upon help in bpython-curtsies #367

@myint

Description

@myint
$ bpython --version
bpython version mercurial on top of Python 3.4.1

$ bpython
>>>
Traceback (most recent call last):
  File "/Users/myint/Library/Python/3.4/bin/bpython-curtsies", line 9, in <module>
    load_entry_point('bpython==mercurial', 'console_scripts', 'bpython-curtsies')()
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsies.py", line 66, in main
    mainloop(config, locals_, banner, interp, paste, interactive=(not exec_args))
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsies.py", line 139, in mainloop
    process_event(e)
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsies.py", line 120, in process_event
    repl.process_event(e)
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsiesfrontend/repl.py", line 403, in process_event
    return self.process_key_event(e)
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsiesfrontend/repl.py", line 481, in process_key_event
    self.pager(self.help_text())
  File "/Users/myint/Library/Python/3.4/lib/python/site-packages/bpython/curtsiesfrontend/repl.py", line 1182, in pager
    tmp.write(text)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tempfile.py", line 399, in func_wrapper
    return func(*args, **kwargs)
TypeError: 'str' does not support the buffer interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup