merge heads

This commit is contained in:
Benjamin Peterson 2011-07-15 14:10:59 -05:00
commit 1a41d7d51d
5 changed files with 18 additions and 13 deletions

View file

@ -20,7 +20,6 @@ very little overhead for build/release/install mechanics.
.. toctree::
:maxdepth: 2
:numbered:
introduction.rst
setupscript.rst

View file

@ -23,7 +23,6 @@ Building blocks
.. toctree::
:maxdepth: 2
:numbered:
packaging-misc
packaging.version
@ -42,7 +41,6 @@ The command machinery
.. toctree::
:maxdepth: 2
:numbered:
packaging.dist
packaging.command
@ -55,7 +53,6 @@ Other utilities
.. toctree::
:maxdepth: 2
:numbered:
packaging.util
packaging.tests.pypi_server

View file

@ -623,7 +623,9 @@ class FutureTests(unittest.TestCase):
self.assertTrue(isinstance(f1.exception(timeout=5), IOError))
@test.support.reap_threads
def test_main():
try:
test.support.run_unittest(ProcessPoolExecutorTest,
ThreadPoolExecutorTest,
ProcessPoolWaitTests,
@ -633,6 +635,8 @@ def test_main():
FutureTests,
ProcessPoolShutdownTest,
ThreadPoolShutdownTest)
finally:
test.support.reap_children()
if __name__ == "__main__":
test_main()

View file

@ -228,6 +228,9 @@ Core and Builtins
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
Serna.

View file

@ -6338,8 +6338,10 @@ PyInit__pickle(void)
if (m == NULL)
return NULL;
Py_INCREF(&Pickler_Type);
if (PyModule_AddObject(m, "Pickler", (PyObject *)&Pickler_Type) < 0)
return NULL;
Py_INCREF(&Unpickler_Type);
if (PyModule_AddObject(m, "Unpickler", (PyObject *)&Unpickler_Type) < 0)
return NULL;