-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed as not planned
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesrelease-blockertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
On Win 10 in 3.11.4, 3.12.0b1, and main compiled yesterday, there is a regression in that help() crashes.
help> xyz
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "F:\dev\3x\Lib\_sitebuiltins.py", line 103, in __call__
return pydoc.help(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\dev\3x\Lib\pydoc.py", line 2009, in __call__
self.interact()
File "F:\dev\3x\Lib\pydoc.py", line 2036, in interact
self.help(request)
File "F:\dev\3x\Lib\pydoc.py", line 2062, in help
elif request: doc(request, 'Help on %s:', output=self._output)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\dev\3x\Lib\pydoc.py", line 1786, in doc
pager(render_doc(thing, title, forceload))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\dev\3x\Lib\pydoc.py", line 1760, in render_doc
object, name = resolve(thing, forceload)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\dev\3x\Lib\pydoc.py", line 1746, in resolve
raise ImportError('''\
ImportError: No Python documentation found for 'xyz'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
>>>
In 3.10.11, 3.9.13, 3.8.10, there is no traceback. The exception is caught, the message printed, the short instructions printed, as above, and the help prompt given again.
help> xyz
No Python documentation found for 'xyz'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
help>
This somehow messes up IDLE calltips, #105689, but I am treating that as a separate issue, though a diagnosis there as to whether the post-crash IDLE problem is in IDLE itself or somewhere else might give a hint here.
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesrelease-blockertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done