summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #12551: Provide a get_channel_binding() method on SSL sockets so asAntoine Pitrou2011-07-201-0/+60
| | | | | | | | | | | | | | | | to get channel binding data for the current SSL session (only the "tls-unique" channel binding is implemented). This allows the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. Patch by Jacek Konieczny.
* | - Issue #10309: Define _GNU_SOURCE so that mremap() gets the properBarry Warsaw2011-07-191-0/+5
|\ \ | |/ | | | | | | signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth.
| * - Issue #10309: Define _GNU_SOURCE so that mremap() gets the properBarry Warsaw2011-07-191-0/+5
| | | | | | | | | | signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth.
* | Issue #11321: Fix a crash with multiple imports of the _pickle module whenAntoine Pitrou2011-07-151-0/+2
|\ \ | |/ | | | | embedding Python. Patch by Andreas Stührk.
| * Issue #11321: Fix a crash with multiple imports of the _pickle module whenAntoine Pitrou2011-07-151-0/+2
| | | | | | | | embedding Python. Patch by Andreas Stührk.
* | Close #6755: Add get_wch() method to curses.window classVictor Stinner2011-07-141-0/+33
| | | | | | | | Patch by Iñigo Serna.
* | Issue #12550: Add chain optional argument to faulthandler.register()Victor Stinner2011-07-131-32/+60
| | | | | | | | Call the previous signal handler if chain is True.
* | Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a ↵Antoine Pitrou2011-07-131-1/+1
|\ \ | |/ | | | | TextIOWrapper to a huge value, not TypeError.
| * Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a ↵Antoine Pitrou2011-07-131-1/+1
| | | | | | | | TextIOWrapper to a huge value, not TypeError.
* | Issue #12440: When testing whether some bits in SSLContext.options can beAntoine Pitrou2011-07-081-9/+25
|\ \ | |/ | | | | | | reset, check the version of the OpenSSL headers Python was compiled against, rather than the runtime version of the OpenSSL library.
| * Issue #12440: When testing whether some bits in SSLContext.options can beAntoine Pitrou2011-07-081-9/+25
| | | | | | | | | | reset, check the version of the OpenSSL headers Python was compiled against, rather than the runtime version of the OpenSSL library.
* | Issue #12016: Multibyte CJK decoders now resynchronize fasterVictor Stinner2011-07-075-36/+36
| | | | | | | | | | | | | | They only ignore the first byte of an invalid byte sequence. For example, b'\xff\n'.decode('gb2312', 'replace') gives '\ufffd\n' instead of '\ufffd'.
* | Issue #9566: cast unsigned int to Py_ssize_t in md5 and sha1 modulesVictor Stinner2011-07-072-2/+2
| | | | | | | | Fix a compiler warning on Windows 64 bits.
* | Issue #12459: time.sleep() now raises a ValueError if the sleep length isVictor Stinner2011-07-051-0/+5
| | | | | | | | | | negative, instead of an infinite sleep on Windows or raising an IOError on Linux for example, to have the same behaviour on all platforms.
* | (merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX ↵Victor Stinner2011-07-051-0/+8
|\ \ | |/ | | | | on Windows.
| * Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.Victor Stinner2011-07-051-0/+8
| |
* | Issue #9642: Uniformize the tests on the availability of the mbcs codecVictor Stinner2011-07-042-6/+6
| | | | | | | | Add a new HAVE_MBCS define.