[issue11186] pydoc: HTMLDoc.index() doesn't support PEP 383
New submission from STINNER Victor
STINNER Victor
Roundup Robot
Changes by STINNER Victor
Éric Araujo
STINNER Victor
If a user unknowingly creates such a module with an unencodable filename, will they understand why pydoc does not display it?
It is really a bad idea to choose an *undecodable* name for a module. You will not be able to write its name using "import name" syntax.
(It is possible to import such module using __import__, but it is just ugly)
For the changelog, feel free to rephrase it.
----------
_______________________________________
Python tracker
Éric Araujo
It is really a bad idea to choose an *undecodable* name for a module. You will not be able to write its name using "import name" syntax.
Okay, makes sense that pydoc ignores those. You speak about a user choosing to create such a filename though; is it possible to create such a name without knowing it?
For the changelog, feel free to rephrase it.
I don’t currently have SSH access, so please do it.
----------
_______________________________________
Python tracker
participants (3)
-
Roundup Robot
-
STINNER Victor
-
Éric Araujo