Commit 1a41d7d5 authored by Benjamin Peterson's avatar Benjamin Peterson

merge heads

parents e92cd0ce 874d65af
...@@ -20,7 +20,6 @@ very little overhead for build/release/install mechanics. ...@@ -20,7 +20,6 @@ very little overhead for build/release/install mechanics.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:numbered:
introduction.rst introduction.rst
setupscript.rst setupscript.rst
......
...@@ -23,7 +23,6 @@ Building blocks ...@@ -23,7 +23,6 @@ Building blocks
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:numbered:
packaging-misc packaging-misc
packaging.version packaging.version
...@@ -42,7 +41,6 @@ The command machinery ...@@ -42,7 +41,6 @@ The command machinery
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:numbered:
packaging.dist packaging.dist
packaging.command packaging.command
...@@ -55,7 +53,6 @@ Other utilities ...@@ -55,7 +53,6 @@ Other utilities
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:numbered:
packaging.util packaging.util
packaging.tests.pypi_server packaging.tests.pypi_server
......
...@@ -623,7 +623,9 @@ class FutureTests(unittest.TestCase): ...@@ -623,7 +623,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,
...@@ -633,6 +635,8 @@ def test_main(): ...@@ -633,6 +635,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()
...@@ -228,6 +228,9 @@ Core and Builtins ...@@ -228,6 +228,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 #6755: Add get_wch() method to curses.window class. Patch by Iñigo - Issue #6755: Add get_wch() method to curses.window class. Patch by Iñigo
Serna. Serna.
......
...@@ -6338,8 +6338,10 @@ PyInit__pickle(void) ...@@ -6338,8 +6338,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment