summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments inAntoine Pitrou2011-08-291-1/+10
|\ | | | | | | the C pickle implementation.
| * Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments inAntoine Pitrou2011-08-291-1/+10
| | | | | | | | the C pickle implementation.
* | Issue #11564: Avoid crashes when trying to pickle huge objects or containersAntoine Pitrou2011-08-291-72/+103
|\ \ | |/ | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised.
| * Issue #11564: Avoid crashes when trying to pickle huge objects or containersAntoine Pitrou2011-08-291-72/+103
| | | | | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised.
* | Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enableCharles-François Natali2011-08-281-1/+2
| | | | | | | | | | the check against negative values, and add a note on this surprising test. Patch by David Watson.
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-284-19/+11
|\ \ | |/ | | | | greater than FD_SETSIZE.
| * Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-284-19/+11
| | | | | | | | greater than FD_SETSIZE.
* | Merge: #12839: Fix crash in zlib module due to version mismatch.Nadeem Vawda2011-08-281-1/+7
|\ \ | |/ | | | | | | | | | | | | | | If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew.
| * Issue #12839: Fix crash in zlib module due to version mismatch.Nadeem Vawda2011-08-281-1/+7
| | | | | | | | | | | | | | | | | | If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew.
* | Issue #12803: SSLContext.load_cert_chain() now accepts a password argumentAntoine Pitrou2011-08-251-21/+149
| | | | | | | | to be used if the private key is encrypted. Patch by Adam Simpkins.
* | sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types withCharles-François Natali2011-08-241-7/+2
| | | | | | | | automatic storage class.
* | Issue12810: Remove check for negative unsigned value in socketmodule.c. PatchCharles-François Natali2011-08-241-1/+1
| | | | | | | | by Joel Stanley.
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-2/+2
|\ \ | |/ | | | | Also added some tests.
| * Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-2/+2
| | | | | | | | Also added some tests.
* | Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.hVictor Stinner2011-08-231-0/+4
| | | | | | | | Patch written by Remi Pointel.
* | Attempt to address Windows buildbot failuresNick Coghlan2011-08-221-1/+1
| |
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-221-0/+809
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)
* | Issue #12213: Fix a buffering bug with interleaved reads and writes thatAntoine Pitrou2011-08-201-44/+57
|\ \ | |/ | | | | could appear on BufferedRandom streams.
| * Issue #12213: Fix a buffering bug with interleaved reads and writes thatAntoine Pitrou2011-08-201-59/+58
| | | | | | | | could appear on BufferedRandom streams.
* | Fix compilation under WindowsAntoine Pitrou2011-08-201-1/+2
| |
* | Issue #12778: Reduce memory consumption when JSON-encoding a large container ↵Antoine Pitrou2011-08-191-49/+154
| | | | | | | | of many small objects.
* | #12725: merge with 3.2.Ezio Melotti2011-08-141-3/+3
|\ \ | |/
| * #12725: fix working. Patch by Ben Hayden.Ezio Melotti2011-08-141-3/+3
| |
* | Followup to 8e824e09924a: fix regression on 32-bit buildsAntoine Pitrou2011-08-131-2/+5
| |
* | Issue #12744: Fix inefficient representation of integersAntoine Pitrou2011-08-131-1/+1
| | | | | | | | between 2**31 and 2**63 on systems with a 64-bit C "long".
* | Fix incorrect comment in zlib.Decompress.flush().Nadeem Vawda2011-08-131-3/+1
| | | | | | | | Reported by Oleg Oshmyan in issue #12646.
* | Issue #12646: Add an 'eof' attribute to zlib.Decompress.Nadeem Vawda2011-08-131-6/+13
| | | | | | | | | | | | This will make it easier to detect truncated input streams. Also, make zlib's error messages more consistent.
* | Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-2/+1
|\ \ | |/ | | | | (protocol 0, mostly) pickles.
| * Issue #12687: Fix a possible buffering bug when unpickling text mode ↵Antoine Pitrou2011-08-111-2/+1
| | | | | | | | (protocol 0, mostly) pickles.
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-116-58/+33
| | | | | | | | The macro was introduced in #12724.
* | typoBenjamin Peterson2011-08-091-1/+1
| |
* | merge 3.2Benjamin Peterson2011-08-041-2/+0
|\ \ | |/
| * dosmodule is, thankfully, no moreBenjamin Peterson2011-08-041-2/+0
| |
* | fix arg stringsBenjamin Peterson2011-08-031-2/+2
| |
* | need NULL sentinelBenjamin Peterson2011-08-031-1/+1
| |
* | avoid warning when SchedParamType is not usedBenjamin Peterson2011-08-021-0/+2
| |
* | only add sched_param if it is initializedBenjamin Peterson2011-08-021-0/+3
| |
* | I have been spoiled by chained comparisons in pythonBenjamin Peterson2011-08-021-1/+1
| |
* | comparing on number of cpus makes more senseBenjamin Peterson2011-08-021-1/+1
| |
* | fix sched definesBenjamin Peterson2011-08-021-1/+1
| |
* | check individually for some for sched_ functionsBenjamin Peterson2011-08-021-0/+30
| |
* | make_new_cpu_set takes the number of cpusBenjamin Peterson2011-08-021-1/+1
| |
* | sched.h can exist without sched affinity supportBenjamin Peterson2011-08-021-0/+8
| |
* | expose sched.h functions (closes #12655)Benjamin Peterson2011-08-021-0/+584
| |
* | Fix build error in _curses module when not using libncursesw.Nadeem Vawda2011-07-311-0/+4
| | | | | | | | Code extracted from Victor Stinner's patch for issue #12567.
* | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.Eli Bendersky2011-07-291-0/+10
| | | | | | | | | | | | | | As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen
* | Issue #12607: Merge with 3.2.Ross Lagerwall2011-07-271-0/+7
|\ \ | |/
| * Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr isRoss Lagerwall2011-07-271-0/+7
| | | | | | | | given as a low fd, it gets overwritten.
* | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-6/+14
|\ \ | |/ | | | | | | a read1() method), and add a *write_through* parameter to mandate unbuffered writes.
| * Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-6/+14
| | | | | | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes.