Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4d65224f
Commit
4d65224f
authored
Apr 12, 2011
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #11186: pydoc ignores a module if its name contains a surrogate character
in the index of modules.
parent
ea4b46f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Lib/pydoc.py
Lib/pydoc.py
+3
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/pydoc.py
View file @
4d65224f
...
...
@@ -952,6 +952,9 @@ class HTMLDoc(Doc):
modpkgs
=
[]
if
shadowed
is
None
:
shadowed
=
{}
for
importer
,
name
,
ispkg
in
pkgutil
.
iter_modules
([
dir
]):
if
any
((
0xD800
<=
ord
(
ch
)
<=
0xDFFF
)
for
ch
in
name
):
# ignore a module if its name contains a surrogate character
continue
modpkgs
.
append
((
name
,
''
,
ispkg
,
name
in
shadowed
))
shadowed
[
name
]
=
1
...
...
Misc/NEWS
View file @
4d65224f
...
...
@@ -103,6 +103,9 @@ Core and Builtins
Library
-------
- Issue #11186: pydoc ignores a module if its name contains a surrogate
character in the index of modules.
- Issue #11815: Use a light-weight SimpleQueue for the result queue in
concurrent.futures.ProcessPoolExecutor.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment