summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #9642: Fix the definition of time.clock() on WindowsVictor Stinner2011-07-041-29/+25
| | | | | | | | | | Don't unset and set againt the HAVE_CLOCK define, reorder the #if tests instead. Fix also the definition of the timezone encoding.
* | Issue #12462: time.sleep() now calls immediatly the (Python) signal handler ifVictor Stinner2011-07-011-6/+11
| | | | | | | | | | | | | | it is interrupted by a signal, instead of having to wait until the next instruction. Patch reviewed by Antoine Pitrou.
* | Issue #12442: add shutil.disk_usage()Giampaolo Rodola'2011-07-011-0/+27
| |
* | faulthandler: add missing include, pthread.h, for FreeBSD 6Victor Stinner2011-06-291-0/+4
| |
* | merge 3.2Benjamin Peterson2011-06-271-1/+1
|\ \ | |/
| * Fix closes issue 11568 - update select.epoll.register docstring with mention ↵Senthil Kumaran2011-06-271-1/+1
| | | | | | | | of correct behavior.
* | Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module.Ross Lagerwall2011-06-251-1/+153
| |
* | Merge with 3.2 (Issue #12404).Ross Lagerwall2011-06-251-1/+2
|\ \ | |/
| * Issue 12404: Remove C89 incompatible code from mmap module.Ross Lagerwall2011-06-251-1/+2
| | | | | | | | Patch by Akira Kitada.
* | Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) theVictor Stinner2011-06-201-26/+19
| | | | | | | | | | | | | | | | module name anymore, only work on unicode strings. Therefore it doesn't truncate module names with embedded NUL characters, or fail if the module name contains surrogate characters (UTF-8 encoder fails on a surrogate character). Patch written by Alexander Belopolsky.
* | calculate_path() decodes the PYTHONPATH environment variable from the localeVictor Stinner2011-06-201-7/+9
| | | | | | | | | | | | encoding using _Py_char2wchar() instead of mbstowcs() to store undecodable bytes as surrogates characters (PEP 383) instead of ignoring silently the PYTHONPATH variable.
* | (Merge 3.2) posixmodule.c: fix function name in argument parsingVictor Stinner2011-06-171-9/+9
|\ \ | |/ | | | | | | | | Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces.