[issue23792] help crash leaves terminal in raw mode
Berker Peksag
report at bugs.python.org
Fri Mar 27 18:50:14 CET 2015
Berker Peksag added the comment:
This looks like a duplicate of issue 21398. I can reproduce it with Python 3.4.1 (compiled myself) on Ubuntu 12.04.
>>> help(str)
Ctrl-C
:Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/_sitebuiltins.py", line 103, in __call__
return pydoc.help(*args, **kwds)
File "/usr/local/lib/python3.4/pydoc.py", line 1817, in __call__
self.help(request)
File "/usr/local/lib/python3.4/pydoc.py", line 1867, in help
else: doc(request, 'Help on %s:', output=self._output)
File "/usr/local/lib/python3.4/pydoc.py", line 1603, in doc
pager(render_doc(thing, title, forceload))
File "/usr/local/lib/python3.4/pydoc.py", line 1411, in pager
pager(text)
File "/usr/local/lib/python3.4/pydoc.py", line 1431, in <lambda>
return lambda text: pipepager(text, 'less')
File "/usr/local/lib/python3.4/pydoc.py", line 1453, in pipepager
pipe.close()
File "/usr/local/lib/python3.4/os.py", line 957, in close
returncode = self._proc.wait()
File "/usr/local/lib/python3.4/subprocess.py", line 1565, in wait
(pid, sts) = self._try_wait(0)
File "/usr/local/lib/python3.4/subprocess.py", line 1513, in _try_wait
(pid, sts) = _eintr_retry_call(os.waitpid, self.pid, wait_flags)
File "/usr/local/lib/python3.4/subprocess.py", line 491, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
----------
nosy: +berker.peksag
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23792>
_______________________________________
More information about the Python-bugs-list
mailing list