Commit Graph

48971 Commits

Author SHA1 Message Date
Charles-François Natali
e51c8dad1a Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-21 18:48:21 +02:00
Jesus Cea
4507e6456e Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received 2011-09-21 03:53:25 +02:00
Victor Stinner
d0b10a6435 test_multiprocessing removes temporary files 2011-09-21 01:10:29 +02:00
Victor Stinner
18d15cb665 test_httplib removes temporary files 2011-09-21 01:09:04 +02:00
Barry Warsaw
916048d780 - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
finding the bug and providing a patch.
2011-09-20 14:45:44 -04:00
Mark Dickinson
c0420fd42a Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat. 2011-09-19 19:18:37 +01:00
Jesus Cea
bc566b00ad Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 17:08:18 +02:00
Georg Brandl
1d678f8413 Fix bug in heapq priority queue example. 2011-09-18 07:40:05 +02:00
Georg Brandl
73dd7c71f6 Add info from the docstring for random.gammavariate() to the docs. 2011-09-17 20:36:28 +02:00
Georg Brandl
755460694e Fix typo. 2011-09-17 20:20:04 +02:00
Victor Stinner
1619132e5d Fix the import machinery if there is an error on sys.path or sys.meta_path
find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.
2011-09-15 19:28:05 +02:00
Ned Deily
79746426c4 Issue #9871: Prevent IDLE 3 crash when given byte stings
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
2011-09-14 14:49:14 -07:00
Stefan Krah
962055d3c6 Issue #11149: recent versions of clang require the -fwrapv flag. 2011-09-14 15:14:08 +02:00
Senthil Kumaran
d71bbf9fd5 Fix issue12938 - Update the docstring of html.escape. Include the information on single quote. 2011-09-13 07:14:13 +08:00
Senthil Kumaran
305a68eb4a Add the quote_plus call in the test. 2011-09-13 06:40:27 +08:00
Amaury Forgeot d'Arc
bbe46d63ee Issue #12483: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.
2011-09-12 21:03:36 +02:00
Éric Araujo
1d7deafeea Branch merge 2011-09-12 17:15:26 +02:00
Stefan Krah
b77c6c65c0 Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases. 2011-09-12 16:22:47 +02:00
Éric Araujo
647ef8cd68 Wrap pydoc output under 80 characters 2011-09-11 00:43:20 +02:00
Ezio Melotti
4165bfb6e9 #12940: fix cmd example. Patch by Tim Chase. 2011-09-10 10:06:01 +03:00
Jesus Cea
aaa899138a NEWS 2011-09-10 04:37:07 +02:00
Jesus Cea
ab7060e502 Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana 2011-09-10 04:04:09 +02:00
Éric Araujo
13e8c8e721 Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński. 2011-09-10 01:51:40 +02:00
Éric Araujo
fce67fcd84 Slight cleanup in distutils test_dist.
I have tests to add in this file and it’s always nice to start from a
clean base.
2011-09-10 01:34:44 +02:00
Jesus Cea
da752d80c8 Fix issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 22:15:16 +02:00