[issue46434] pdb help fails with AttributeError when using Windows embeddable package

2022-01-20 Thread sparrowt
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

[issue46434] pdb help fails with AttributeError when using Windows embeddable package

2022-01-20 Thread sparrowt
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

[issue46434] pdb help fails with AttributeError when using Windows embeddable package

2022-01-19 Thread sparrowt
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

[issue46434] pdb help fails with AttributeError when using Windows embeddable package

2022-01-19 Thread sparrowt
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

[issue46434] pdb help fails with AttributeError when using Windows embeddable package

2022-01-19 Thread sparrowt
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

[issue39847] EnterNonRecursiveMutex on win32 can hang for 49.7 days: use GetTickCount64() rather than GetTickCount()

2020-03-04 Thread sparrowt
Change by sparrowt : -- nosy: +sparrowt ___ Python tracker <https://bugs.python.org/issue39847> ___ ___ Python-bugs-list mailing list Unsubscribe: