Message410970
When running python from an embeddable windows zip file such as:
https://www.python.org/ftp/python/3.9.10/python-3.9.10-embed-amd64.zip
the `help` command within `pdb` is broken due to missing docstrings, as demonstrated below.
Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)] on win32
>>> import pdb
>>> pdb.set_trace()
--Return--
> <stdin>(1)<module>()->None
(Pdb) help interact
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "bdb.py", line 92, in trace_dispatch
File "bdb.py", line 151, in dispatch_return
File "pdb.py", line 294, in user_return
File "pdb.py", line 357, in interaction
File "pdb.py", line 322, in _cmdloop
File "cmd.py", line 138, in cmdloop
File "pdb.py", line 422, in onecmd
File "cmd.py", line 217, in onecmd
File "pdb.py", line 1496, in do_help
AttributeError: 'NoneType' object has no attribute 'rstrip'
>>>
>>> print(pdb.Pdb.do_interact.__doc__)
None |
|
Date |
User |
Action |
Args |
2022-01-19 16:41:48 | sparrowt | set | recipients:
+ sparrowt, paul.moore, tim.golden, zach.ware, steve.dower |
2022-01-19 16:41:48 | sparrowt | set | messageid: <1642610508.79.0.170638076327.issue46434@roundup.psfhosted.org> |
2022-01-19 16:41:48 | sparrowt | link | issue46434 messages |
2022-01-19 16:41:48 | sparrowt | create | |
|