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
43415ba5
Commit
43415ba5
authored
Nov 07, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18010: Fix pydoc GUI search to handle package exceptions
parent
c157347d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Lib/pydoc.py
Lib/pydoc.py
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/pydoc.py
View file @
43415ba5
...
...
@@ -2244,8 +2244,11 @@ def gui():
if
self
.
scanner
:
self
.
scanner
.
quit
=
1
self
.
scanner
=
ModuleScanner
()
def
onerror
(
modname
):
pass
threading
.
Thread
(
target
=
self
.
scanner
.
run
,
args
=
(
self
.
update
,
key
,
self
.
done
)).
start
()
args
=
(
self
.
update
,
key
,
self
.
done
),
kwargs
=
dict
(
onerror
=
onerror
)).
start
()
def
update
(
self
,
path
,
modname
,
desc
):
if
modname
[
-
9
:]
==
'.__init__'
:
...
...
Misc/NEWS
View file @
43415ba5
...
...
@@ -46,6 +46,9 @@ Core and Builtins
Library
-------
- Issue #18010: Fix the pydoc GUI'
s
search
function
to
handle
exceptions
from
importing
packages
.
-
Issue
#
25515
:
Always
use
os
.
urandom
as
a
source
of
randomness
in
uuid
.
uuid4
.
-
Issue
#
21827
:
Fixed
textwrap
.
dedent
()
for
the
case
when
largest
common
...
...
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