Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 6 | -58/+33 |
| | | | | The macro was introduced in #12724. | ||||
* | typo | Benjamin Peterson | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | merge 3.2 | Benjamin Peterson | 2011-08-04 | 1 | -2/+0 |
|\ | |||||
| * | dosmodule is, thankfully, no more | Benjamin Peterson | 2011-08-04 | 1 | -2/+0 |
| | | |||||
* | | fix arg strings | Benjamin Peterson | 2011-08-03 | 1 | -2/+2 |
| | | |||||
* | | need NULL sentinel | Benjamin Peterson | 2011-08-03 | 1 | -1/+1 |
| | | |||||
* | | avoid warning when SchedParamType is not used | Benjamin Peterson | 2011-08-02 | 1 | -0/+2 |
| | | |||||
* | | only add sched_param if it is initialized | Benjamin Peterson | 2011-08-02 | 1 | -0/+3 |
| | | |||||
* | | I have been spoiled by chained comparisons in python | Benjamin Peterson | 2011-08-02 | 1 | -1/+1 |
| | | |||||
* | | comparing on number of cpus makes more sense | Benjamin Peterson | 2011-08-02 | 1 | -1/+1 |
| | | |||||
* | | fix sched defines | Benjamin Peterson | 2011-08-02 | 1 | -1/+1 |
| | | |||||
* | | check individually for some for sched_ functions | Benjamin Peterson | 2011-08-02 | 1 | -0/+30 |
| | | |||||
* | | make_new_cpu_set takes the number of cpus | Benjamin Peterson | 2011-08-02 | 1 | -1/+1 |
| | | |||||
* | | sched.h can exist without sched affinity support | Benjamin Peterson | 2011-08-02 | 1 | -0/+8 |
| | | |||||
* | | expose sched.h functions (closes #12655) | Benjamin Peterson | 2011-08-02 | 1 | -0/+584 |
| | | |||||
* | | Fix build error in _curses module when not using libncursesw. | Nadeem Vawda | 2011-07-31 | 1 | -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 Bendersky | 2011-07-29 | 1 | -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 Lagerwall | 2011-07-27 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is | Ross Lagerwall | 2011-07-27 | 1 | -0/+7 |
| | | | | | | | | given as a low fd, it gets overwritten. | ||||
* | | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without | Antoine Pitrou | 2011-07-23 | 1 | -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 (without | Antoine Pitrou | 2011-07-23 | 1 | -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 as | Antoine Pitrou | 2011-07-20 | 1 | -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 proper | Barry Warsaw | 2011-07-19 | 1 | -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 proper | Barry Warsaw | 2011-07-19 | 1 | -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 when | Antoine Pitrou | 2011-07-15 | 1 | -0/+2 |
|\ \ | |/ | | | | | embedding Python. Patch by Andreas Stührk. | ||||
| * | Issue #11321: Fix a crash with multiple imports of the _pickle module when | Antoine Pitrou | 2011-07-15 | 1 | -0/+2 |
| | | | | | | | | embedding Python. Patch by Andreas Stührk. | ||||
* | | Close #6755: Add get_wch() method to curses.window class | Victor Stinner | 2011-07-14 | 1 | -0/+33 |
| | | | | | | | | Patch by Iñigo Serna. | ||||
* | | Issue #12550: Add chain optional argument to faulthandler.register() | Victor Stinner | 2011-07-13 | 1 | -32/+60 |
| | | | | | | | | Call the previous signal handler if chain is True. | ||||
* | | Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a ↵ | Antoine Pitrou | 2011-07-13 | 1 | -1/+1 |
|\ \ | |/ | | | | | TextIOWrapper to a huge value, not TypeError. | ||||
| * | Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a ↵ | Antoine Pitrou | 2011-07-13 | 1 | -1/+1 |
| | | | | | | | | TextIOWrapper to a huge value, not TypeError. | ||||
* | | Issue #12440: When testing whether some bits in SSLContext.options can be | Antoine Pitrou | 2011-07-08 | 1 | -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 be | Antoine Pitrou | 2011-07-08 | 1 | -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 faster | Victor Stinner | 2011-07-07 | 5 | -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 modules | Victor Stinner | 2011-07-07 | 2 | -2/+2 |
| | | | | | | | | Fix a compiler warning on Windows 64 bits. | ||||
* | | Issue #12459: time.sleep() now raises a ValueError if the sleep length is | Victor Stinner | 2011-07-05 | 1 | -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 Stinner | 2011-07-05 | 1 | -0/+8 |
|\ \ | |/ | | | | | on Windows. | ||||
| * | Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. | Victor Stinner | 2011-07-05 | 1 | -0/+8 |
| | | |||||
* | | Issue #9642: Uniformize the tests on the availability of the mbcs codec | Victor Stinner | 2011-07-04 | 2 | -6/+6 |
| | | | | | | | | Add a new HAVE_MBCS define. | ||||
* | | Issue #9642: Fix the definition of time.clock() on Windows | Victor Stinner | 2011-07-04 | 1 | -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 if | Victor Stinner | 2011-07-01 | 1 | -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-01 | 1 | -0/+27 |
| | | |||||
* | | faulthandler: add missing include, pthread.h, for FreeBSD 6 | Victor Stinner | 2011-06-29 | 1 | -0/+4 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix closes issue 11568 - update select.epoll.register docstring with mention ↵ | Senthil Kumaran | 2011-06-27 | 1 | -1/+1 |
| | | | | | | | | of correct behavior. | ||||
* | | Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. | Ross Lagerwall | 2011-06-25 | 1 | -1/+153 |
| | | |||||
* | | Merge with 3.2 (Issue #12404). | Ross Lagerwall | 2011-06-25 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue 12404: Remove C89 incompatible code from mmap module. | Ross Lagerwall | 2011-06-25 | 1 | -1/+2 |
| | | | | | | | | Patch by Akira Kitada. | ||||
* | | Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) the | Victor Stinner | 2011-06-20 | 1 | -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 locale | Victor Stinner | 2011-06-20 | 1 | -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 parsing | Victor Stinner | 2011-06-17 | 1 | -9/+9 |
|\ \ | |/ | | | | | | | | | Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces. |