sparrowt added the comment:
Gottit thanks for explaining - so the existing check in `do_help` didn't catch
this case because https://docs.python.org/3/library/sys.html#sys.flags only
reflects command line flags, rather than whether or not it was actually
opti
sparrowt added the comment:
Thanks, yes CLA should now be working its way through the system.
I guess a side question is: is it expected for docstring to have been stripped
from the windows embeddable distribution, and how is that done if not with -OO?
(I found --without-doc-strings but not
Change by sparrowt :
--
keywords: +patch
pull_requests: +28901
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30705
___
Python tracker
<https://bugs.python.org/issu
sparrowt added the comment:
Perhaps we should have a more generic check for `command.__doc__` as it appears
this is a case not handled by the existing `sys.flags.optimize >= 2` check?
https://github.com/python/cpython/blob/v3.9.10/Lib/pdb.py#L1492-L1
New submission from sparrowt :
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
Change by sparrowt :
--
nosy: +sparrowt
___
Python tracker
<https://bugs.python.org/issue39847>
___
___
Python-bugs-list mailing list
Unsubscribe: