Commit graph

68714 commits

Author SHA1 Message Date
Jesus Cea
03a9d2a20b Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes 2012-09-10 21:04:42 +02:00
Jesus Cea
3159cb51a7 #15676: Proper attribution in Misc/ACKS 2012-09-10 20:19:25 +02:00
Jesus Cea
dc0170a84a #15676: Proper attribution in Misc/ACKS 2012-09-10 20:18:43 +02:00
R David Murray
4709ac14ff #14649: add sample files omitted from previous checkin. 2012-09-10 11:20:47 -04:00
Christian Heimes
f6cdd35bc7 merge 2012-09-10 17:01:21 +02:00
Christian Heimes
e81dc296f2 Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371 2012-09-10 16:57:36 +02:00
Christian Heimes
47770ed914 Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371 2012-09-10 16:57:36 +02:00
Christian Heimes
3d463393bb Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to. 2012-09-10 16:52:42 +02:00
R David Murray
8d580539f0 #14649: clarify DocTestSuite error when there are no docstrings.
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).

Patch by Chris Jerdonek.
2012-09-10 10:17:13 -04:00
R David Murray
5abd76a75d #14649: clarify DocTestSuite error when there are no docstrings.
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).

Patch by Chris Jerdonek.
2012-09-10 10:15:58 -04:00
doko@ubuntu.com
7a8634d8d8 backport from the trunk, to fix test_tools with srcdir != builddir
changeset:   77827:c23b442b5d5e
        user:        Antoine Pitrou <solipsis@pitrou.net>
        date:        Thu Jun 28 01:20:26 2012 +0200
        summary:     Avoid using scrdir, it's broken.

        changeset:   77826:f0e58e778215
        user:        Neil Schemenauer <nas@arctrix.com>
        date:        Wed Jun 27 15:58:37 2012 -0600
        summary:     Fix bug in test_tools that prevented building is separate directory.
2012-09-10 14:34:42 +02:00
doko@ubuntu.com
01beb69c7d backport from the trunk, to fix test_tools with srcdir != builddir
changeset:   77827:c23b442b5d5e
	user:        Antoine Pitrou <solipsis@pitrou.net>
	date:        Thu Jun 28 01:20:26 2012 +0200
	summary:     Avoid using scrdir, it's broken.

	changeset:   77826:f0e58e778215
	user:        Neil Schemenauer <nas@arctrix.com>
	date:        Wed Jun 27 15:58:37 2012 -0600
	summary:     Fix bug in test_tools that prevented building is separate directory.
2012-09-10 14:19:42 +02:00
Richard Oudkerk
b517596721 Issue #15901: Change example to use byte string instead of string 2012-09-10 13:00:33 +01:00
Christian Heimes
059ba52180 merge 2012-09-10 13:19:15 +02:00
Christian Heimes
48d8d21438 Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 2012-09-10 13:16:45 +02:00
Christian Heimes
d8edcb6505 Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641 2012-09-10 13:16:45 +02:00
doko@ubuntu.com
8fa3be2bc8 - Mention _heapq in Setup.dist. 2012-09-10 11:56:47 +02:00
Christian Heimes
837e53a7c2 Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases 2012-09-10 03:08:46 +02:00
Christian Heimes
8c1bce00d2 Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases 2012-09-10 03:08:46 +02:00
Christian Heimes
a0e7e41cba Fixed possible reference leak to mod when type_name() returns NULL 2012-09-10 03:00:14 +02:00
Christian Heimes
4e80eea60e Fixed possible reference leak to mod when type_name() returns NULL 2012-09-10 03:00:14 +02:00
Christian Heimes
d5a88044a3 PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak. 2012-09-10 02:54:51 +02:00
Christian Heimes
074ebced1b PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak. 2012-09-10 02:54:51 +02:00
Christian Heimes
949f331731 Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL 2012-09-10 02:45:31 +02:00
Jesus Cea
941bfcc537 Closes #15676: mmap: add empty file check prior to offset check 2012-09-10 00:27:55 +02:00
Jesus Cea
8b54d6d733 Closes #15676: mmap: add empty file check prior to offset check 2012-09-10 00:22:39 +02:00
Alexander Belopolsky
7330da4297 Issue #15881: Added NEWS entry and proper credit. 2012-09-09 14:11:45 -04:00
Alexander Belopolsky
5bedef3e64 Issue #15881: Fixed 3.2 backport. 2012-09-09 13:31:08 -04:00
Alexander Belopolsky
36351564a2 Fixed whitespace 2012-09-09 13:22:45 -04:00
Alexander Belopolsky
59fb38b582 Issue #15881: Fixed atexit hook in multiprocessing. 2012-09-09 13:16:15 -04:00
Ned Deily
47bcfff26b Issue #15822: Fix installation of lib2to3 grammar pickles to ensure
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:50:56 -07:00
Ned Deily
10fc104fed Issue #15822: Fix installation of lib2to3 grammar pickles to ensure
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:47:27 -07:00
R David Murray
b9495c78a1 closes #5088: document behavior of optparse defaults with 'append' action. 2012-09-08 16:47:24 -04:00
R David Murray
14d66a98ed #5088: document behavior of optparse defaults with 'append' action. 2012-09-08 16:45:35 -04:00
Ezio Melotti
8bdcdc235e Merge heads. 2012-09-08 20:52:19 +03:00
Ezio Melotti
e927e25637 #15865: add "*" in the signature to document keyword-only args in the docs. Patch by Chris Jerdonek. 2012-09-08 20:46:01 +03:00
R David Murray
1b6e7c47f2 #15510: clarify textwrap's handling of whitespace, and add confirming tests.
Patch by Chris Jerdonek.
2012-09-08 13:42:01 -04:00
R David Murray
1585b70813 #15510: clarify textwrap's handling of whitespace, and add confirming tests.
Patch by Chris Jerdonek.
2012-09-08 13:13:25 -04:00
Christian Heimes
b676727dca Fix for fcc629208842
BSD's make doesn't support some of the features.
2012-09-08 19:12:05 +02:00
R David Murray
a99c7dedcb #15847: allow args to be a tuple in parse_args
This fixes a regression introduced by the fix for issue #13922.  Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.

Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:15:25 -04:00
R David Murray
b522828d2a #15847: allow args to be a tuple in parse_args
This fixes a regression introduced by the fix for issue #13922.  Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.

Patch by Zbyszek Jędrzejewski-Szmek.
2012-09-08 12:08:01 -04:00
Stefan Krah
96efdd422c Issue #15868: Fix refleak in bytesio.c (Coverity #715365). 2012-09-08 11:12:33 +02:00
Antoine Pitrou
e299cae230 Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Antoine Pitrou
7ff1822ec7 Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Christian Heimes
f84dcffcb9 Fix for fcc629208842
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes
5f381210c4 Fix for fcc629208842
BSD's make doesn't support some of the features.
2012-09-07 02:24:58 +02:00
Christian Heimes
bc71f2cf98 Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option. 2012-09-07 00:55:33 +02:00
Christian Heimes
f2acf63487 Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option. 2012-09-07 00:58:26 +02:00
Christian Heimes
0897683381 Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option. 2012-09-07 00:55:33 +02:00
Christian Heimes
6fd3248855 Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently 2012-09-06 18:02:49 +02:00