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
a939105a
Commit
a939105a
authored
Aug 09, 2012
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #15567. collections.deque wasn't imported
parent
774c8a39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/threading.py
Lib/threading.py
+2
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/threading.py
View file @
a939105a
...
...
@@ -10,6 +10,7 @@ except ImportError:
import
warnings
from
collections
import
deque
as
_deque
from
time
import
time
as
_time
,
sleep
as
_sleep
from
traceback
import
format_exc
as
_format_exc
...
...
@@ -913,7 +914,7 @@ def _test():
self
.
rc
=
Condition
(
self
.
mon
)
self
.
wc
=
Condition
(
self
.
mon
)
self
.
limit
=
limit
self
.
queue
=
deque
()
self
.
queue
=
_
deque
()
def
put
(
self
,
item
):
self
.
mon
.
acquire
()
...
...
Misc/NEWS
View file @
a939105a
...
...
@@ -92,6 +92,8 @@ Core and Builtins
Library
-------
- Issue #15567: Fix NameError when running threading._test
- Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog
ended with '
\
'. Patch by Roger Serwy.
...
...
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