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
58059197
Commit
58059197
authored
Jul 15, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
5afa03a7
8391cf4e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
Lib/test/test_concurrent_futures.py
Lib/test/test_concurrent_futures.py
+13
-9
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_pickle.c
Modules/_pickle.c
+2
-0
No files found.
Lib/test/test_concurrent_futures.py
View file @
58059197
...
@@ -598,7 +598,9 @@ class FutureTests(unittest.TestCase):
...
@@ -598,7 +598,9 @@ class FutureTests(unittest.TestCase):
self
.
assertTrue
(
isinstance
(
f1
.
exception
(
timeout
=
5
),
IOError
))
self
.
assertTrue
(
isinstance
(
f1
.
exception
(
timeout
=
5
),
IOError
))
@
test
.
support
.
reap_threads
def
test_main
():
def
test_main
():
try
:
test
.
support
.
run_unittest
(
ProcessPoolExecutorTest
,
test
.
support
.
run_unittest
(
ProcessPoolExecutorTest
,
ThreadPoolExecutorTest
,
ThreadPoolExecutorTest
,
ProcessPoolWaitTests
,
ProcessPoolWaitTests
,
...
@@ -608,6 +610,8 @@ def test_main():
...
@@ -608,6 +610,8 @@ def test_main():
FutureTests
,
FutureTests
,
ProcessPoolShutdownTest
,
ProcessPoolShutdownTest
,
ThreadPoolShutdownTest
)
ThreadPoolShutdownTest
)
finally
:
test
.
support
.
reap_children
()
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
test_main
()
test_main
()
Misc/NEWS
View file @
58059197
...
@@ -30,6 +30,9 @@ Core and Builtins
...
@@ -30,6 +30,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #11321: Fix a crash with multiple imports of the _pickle module when
embedding Python. Patch by Andreas Stührk.
- Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
- Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
- Issue #4376: ctypes now supports nested structures in a endian different than
- Issue #4376: ctypes now supports nested structures in a endian different than
...
...
Modules/_pickle.c
View file @
58059197
...
@@ -6321,8 +6321,10 @@ PyInit__pickle(void)
...
@@ -6321,8 +6321,10 @@ PyInit__pickle(void)
if
(
m
==
NULL
)
if
(
m
==
NULL
)
return
NULL
;
return
NULL
;
Py_INCREF
(
&
Pickler_Type
);
if
(
PyModule_AddObject
(
m
,
"Pickler"
,
(
PyObject
*
)
&
Pickler_Type
)
<
0
)
if
(
PyModule_AddObject
(
m
,
"Pickler"
,
(
PyObject
*
)
&
Pickler_Type
)
<
0
)
return
NULL
;
return
NULL
;
Py_INCREF
(
&
Unpickler_Type
);
if
(
PyModule_AddObject
(
m
,
"Unpickler"
,
(
PyObject
*
)
&
Unpickler_Type
)
<
0
)
if
(
PyModule_AddObject
(
m
,
"Unpickler"
,
(
PyObject
*
)
&
Unpickler_Type
)
<
0
)
return
NULL
;
return
NULL
;
...
...
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