Commit Graph

49179 Commits

Author SHA1 Message Date
Meador Inge
b86ecf4bd1 Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Thanks to Suman Saha for finding the bug and providing a patch.
2011-09-27 20:45:30 -05:00
Martin v. Löwis
6fb44728bb Depend setobject.o and dictobject.o on stringlib/eq.h. 2011-09-25 17:36:11 +02:00
Mark Dickinson
b2f6bc72a2 Issue #12973: Fix itertools bug caused by signed integer overflow. Thanks Stefan Krah. 2011-09-24 08:56:09 +01:00
Benjamin Peterson
adde86d0e3 fix compiler compliant about \0 not being an opcode 2011-09-23 13:41:41 -04:00
Victor Stinner
53ffdc53bf Issue #7732: Don't open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
2011-09-23 18:54:40 +02:00
Victor Stinner
da6eb5305f Issue #12931: Add a test with Unicode URI to test_xmlrpc 2011-09-23 01:29:44 +02:00
Charles-François Natali
a49ed7650a Fix a race condition in test_socket.ThreadableTest: the client is reported as
ready before having been set up.
2011-09-21 22:03:58 +02:00
Senthil Kumaran
17dac4c0e2 Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation. 2011-09-22 02:09:17 +08:00
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
Jesus Cea
94f964f810 Close issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 20:26:57 +02:00
Éric Araujo
eb933de807 Fix current name of the Python 3 binary on Unix (#12896).
Also fix some markup and typos.
2011-09-09 19:03:41 +02:00
Vinay Sajip
4eb0e73ff2 Closes #12906: Fixed bug in YAML configuration. 2011-09-06 14:07:23 +01:00
Benjamin Peterson
7f5556095e merge heads 2011-09-06 07:57:26 -04:00
Benjamin Peterson
f22913b8c3 cast to getter 2011-09-06 07:55:34 -04:00
Victor Stinner
d88d9836c5 Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character
Fix also spelling of the null character.
2011-09-06 02:00:05 +02:00
Victor Stinner
a1bea6e10c Issue #9561: distutils now reads and writes egg-info files using UTF-8
instead of the locale encoding.
2011-09-05 23:44:56 +02:00
Victor Stinner
a404b49321 Issue #12326: Remove plat-linux3 directory
sys.platform is now always 'linux2' on Linux (even on Linux 3)
2011-09-05 21:38:42 +02:00
Senthil Kumaran
e969a2117c Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez. 2011-09-06 00:21:30 +08:00
Éric Araujo
bcf99ac665 Branch merge 2011-09-05 17:44:07 +02:00
Lars Gustäbel
2e7ddd374b Issue #12841: Fix tarfile extraction of non-existent uids/gids.
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
2011-09-05 16:58:14 +02:00
Ezio Melotti
d9e0b068af #12888: Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten. 2011-09-05 17:11:06 +03:00
Éric Araujo
17b288cdab Branch merge 2011-09-05 01:53:52 +02:00
Martin v. Löwis
73abc24345 Add 3.2.2 and 3.2.3 UUIDs. 2011-09-05 00:14:09 +02:00
Georg Brandl
06ee020961 Post-release version bump. 2011-09-04 08:36:22 +02:00
Georg Brandl
3484a8771c Merge with release clone. 2011-09-04 08:35:54 +02:00
Georg Brandl
e3bb2cfb7a Typo fix. 2011-09-04 08:10:25 +02:00