Ezio Melotti
16d2b47837
#15796 : Fix \n in readline docstring. Patch by Serhiy Storchaka.
14 years ago
Ezio Melotti
26e5878d6f
#11643 : fix rst markup error in site.rst.
14 years ago
Ezio Melotti
13bec9b315
#15920 : fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
14 years ago
Antoine Pitrou
8a53dbeb7a
Issue #15526 : try to fix test_startfile's inability to clean up after itself in time.
Patch by Jeremy Kloth.
14 years ago
Ezio Melotti
186d5238ea
#15789 : mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
14 years ago
Ezio Melotti
e34f8a943b
#15932 : use with statement in csv doc examples. Patch by Dario Bertini.
14 years ago
Antoine Pitrou
1e7ee9dfa0
Issue #15842 : the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
Patch by Alessandro Moura.
14 years ago
Ezio Melotti
e0add76468
#15831 : document multiple signatures on different lines. Patch by Chris Jerdonek.
14 years ago
Ezio Melotti
56f37aa965
#15437 , #15439 : merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
14 years ago
Barry Warsaw
2dceb359cb
Update merge from 2.7: s/basetring/str
14 years ago
Barry Warsaw
eaae1b76ae
A follow up for issue #15906 : change the test for calling the type conversion
on the action's default, reverting it back to previous behavior. Conversion
is only done on string defaults.
Add a test for this and another test that ensures such type conversions are
only called once.
14 years ago
Christian Heimes
55ad6515c9
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
14 years ago
Christian Heimes
1526582df6
Partly revert ad3824a90261 and add comment about reference ownership
14 years ago
Christian Heimes
79b97ee2ab
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
14 years ago
Barry Warsaw
4b2f9e914d
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
when action='append', type='str' and default=[].
14 years ago
R David Murray
d8bbde35fe
#14617 : clarify discussion of interrelationship of __eq__ and __hash__.
14 years ago
Christian Heimes
5557a9c73f
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
14 years ago
Senthil Kumaran
2fd8bdbc9d
Fix issue #15899 : Make the unicode.rst doctests pass. Patch by Chris Jerdonek.
14 years ago
Jesus Cea
c8754a13e6
Closes #15793 : Stack corruption in ssl.RAND_egd()
14 years ago
Jesus Cea
e8db356cf1
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
14 years ago
Jesus Cea
1f2799bef4
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete
14 years ago
Jesus Cea
3159cb51a7
#15676 : Proper attribution in Misc/ACKS
14 years ago
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
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
Richard Oudkerk
b517596721
Issue #15901 : Change example to use byte string instead of string
14 years ago
Christian Heimes
48d8d21438
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
14 years ago
Christian Heimes
837e53a7c2
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
14 years ago
Christian Heimes
a0e7e41cba
Fixed possible reference leak to mod when type_name() returns NULL
14 years ago
Christian Heimes
d5a88044a3
PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak.
14 years ago
Christian Heimes
949f331731
Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL
14 years ago
Jesus Cea
941bfcc537
Closes #15676 : mmap: add empty file check prior to offset check
14 years ago
Alexander Belopolsky
7330da4297
Issue #15881 : Added NEWS entry and proper credit.
14 years ago
Alexander Belopolsky
5bedef3e64
Issue #15881 : Fixed 3.2 backport.
14 years ago
Alexander Belopolsky
36351564a2
Fixed whitespace
14 years ago
Alexander Belopolsky
59fb38b582
Issue #15881 : Fixed atexit hook in multiprocessing.
14 years ago
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)
14 years ago
R David Murray
14d66a98ed
#5088 : document behavior of optparse defaults with 'append' action.
14 years ago
Ezio Melotti
8bdcdc235e
Merge heads.
14 years ago
Ezio Melotti
e927e25637
#15865 : add "*" in the signature to document keyword-only args in the docs. Patch by Chris Jerdonek.
14 years ago
R David Murray
1585b70813
#15510 : clarify textwrap's handling of whitespace, and add confirming tests.
Patch by Chris Jerdonek.
14 years ago
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.
14 years ago
Stefan Krah
96efdd422c
Issue #15868 : Fix refleak in bytesio.c (Coverity #715365 ).
14 years ago
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.
14 years ago
Christian Heimes
5f381210c4
Fix for fcc629208842
BSD's make doesn't support some of the features.
14 years ago
Christian Heimes
0897683381
Issue #15591 and Issue #11715 : silence output of setup.py when make is run with -s option.
14 years ago
Christian Heimes
7dd06e1dc0
Issue #15591 : run ctypes' configure in quiet mode when setup.py runs silently
14 years ago
Antoine Pitrou
56cd62c04a
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
14 years ago
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
14 years ago