summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12090: backport 79fcd71d0356Stefan Krah2011-05-251-0/+6
|
* (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()Victor Stinner2011-05-251-0/+8
|\ | | | | | | returns None.
| * Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-0/+8
| |
* | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead ofVictor Stinner2011-05-251-0/+2
|\ \ | |/ | | | | an IOError if the file is closed.
| * Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+2
| | | | | | | | the file is closed.
* | (Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs atVictor Stinner2011-05-241-4/+4
|\ \ | |/ | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True.
| * Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-4/+4
| | | | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* | (Merge 3.1) Issue #12124: zipimport doesn't keep a reference toVictor Stinner2011-05-191-24/+23
|\ \ | |/ | | | | zlib.decompress() anymore to be able to unload the module.
| * Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-191-24/+23
| | | | | | | | to be able to unload the module.
| * Issue #10756: atexit normalizes the exception before displaying it. Patch byVictor Stinner2011-05-151-0/+1
| | | | | | | | | | | | Andreas Stührk. Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).
* | (Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in theVictor Stinner2011-05-151-3/+3
|\ \ | |/ | | | | signal module. Patch written by Charles-François Natali.
| * Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.Victor Stinner2011-05-151-3/+3
| | | | | | | | Patch written by Charles-François Natali.
* | Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-14/+23
|\ \ | |/ | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
| * Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-14/+23
| | | | | | | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
| * Issue #8650: Backport 64-bit safety fixes for compress() and decompress().Nadeem Vawda2011-05-141-10/+21
| |
* | Fix memory leaks in zlib.compress() and .decompress().Nadeem Vawda2011-05-141-14/+11
| | | | | | | | Also, make sure that test_zlib tests decompress() for overly-large inputs.
* | Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
|\ \ | |/ | | | | attribute when called without a max_length argument.
| * Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
| | | | | | | | attribute when called without a max_length argument.
* | Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-1/+1
|\ \ | |/ | | | | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
| * Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-1/+1
| | | | | | | | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* | Merge from 3.1Kurt B. Kaiser2011-05-111-1/+13
|\ \ | |/
| * Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.Kurt B. Kaiser2011-05-111-1/+13
| | | | | | | | | | With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd().
* | #12051: merge with 3.1.Ezio Melotti2011-05-101-2/+15
|\ \ | |/
| * #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-101-2/+15
| | | | | | | | using the C accelerations.
* | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
| | | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
* | (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-1/+7
|\ \ | |/ | | | | | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
| * Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-1/+7
| | | | | | | | | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* | #12017: merge with 3.1.Ezio Melotti2011-05-071-2/+13
|\ \ | |/
| * #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵Ezio Melotti2011-05-071-2/+13
| | | | | | | | using the C accelerations.
* | (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS XVictor Stinner2011-05-011-0/+9
|\ \ | |/ | | | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
| * Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around aVictor Stinner2011-05-011-0/+9
| | | | | | | | mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
* | Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-0/+1
| | | | | | | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
* | Issue #10914: Add a minimal embedding test to test_capi.Antoine Pitrou2011-04-251-0/+52
| |
* | (Merge 3.1) Issue #11768: The signal handler of the signal module only callsVictor Stinner2011-04-181-10/+16
|\ \ | |/ | | | | | | Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
| * Issue #11768: The signal handler of the signal module only callsVictor Stinner2011-04-181-10/+16
| | | | | | | | | | Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
* | Remove unnecessary call to PyErr_Clear.Ezio Melotti2011-04-111-1/+0
| |
* | Merge from 3.1Senthil Kumaran2011-04-061-1/+1
|\ \ | |/
| * Issue #10762: Guard against invalid/non-supported format string '%f' on ↵Senthil Kumaran2011-04-061-1/+1
| | | | | | | | Windows. Patch Santoso Wijaya.
| * Merge 3.1Kristjan Valur Jonsson2011-03-301-1/+1
| |\
| | * Issue 11713: clarify docstring for collections.deque()Raymond Hettinger2011-03-301-1/+1
| | |
* | | Issue #11576: Fixed timedelta subtraction glitch on big timedelta valuesAlexander Belopolsky2011-04-061-7/+8
| | |
* | | Issue #11746: Fix SSLContext.load_cert_chain() to accept elliptic curve ↵Antoine Pitrou2011-04-031-1/+1
| | | | | | | | | | | | private keys.
* | | MergeKristjan Valur Jonsson2011-03-301-1/+1
|\ \ \
| * | | Issue 11713: clarify docstring for collections.deque()Raymond Hettinger2011-03-301-1/+1
| | | |
* | | | Merge 3.1Kristjan Valur Jonsson2011-03-301-3/+6
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.Kristjan Valur Jonsson2011-03-301-3/+6
| |/ | | | | | | | | ti can raise an exception even if PyLong_Check() has succeeded.
* | merge 3.1Benjamin Peterson2011-03-281-3/+3
|\ \ | |/
| * let's keep parenthesis around sizeofBenjamin Peterson2011-03-281-3/+3
| |
* | merge 3.1Benjamin Peterson2011-03-261-20/+54
|\ \ | |/
| * always check return value of PyObject_IsInstance for errorBenjamin Peterson2011-03-261-19/+44
| |