Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15144: Fix possible integer overflow when handling pointers as ↵ | Antoine Pitrou | 2012-09-20 | 1 | -1/+1 |
| | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka. | ||||
* | merge | Christian Heimes | 2012-09-20 | 4 | -4/+11 |
|\ | |||||
| * | #15965: Explicitly cast AT_FDCWD as (int). | Trent Nelson | 2012-09-19 | 1 | -1/+8 |
| | | | | | | | | | | Required on Solaris 10 (which defines AT_FDCWD as 0xffd19553), harmless on other platforms. | ||||
| * | #15796: merge with 3.2. | Ezio Melotti | 2012-09-18 | 3 | -3/+3 |
| |\ | |||||
| | * | #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-09-18 | 3 | -3/+3 |
| | | | |||||
* | | | Issue #15977: Fix memory leak in Modules/_ssl.c when the function ↵ | Christian Heimes | 2012-09-20 | 1 | -0/+7 |
|/ / | | | | | | | _set_npn_protocols() is called multiple times | ||||
* | | Issue #15926: Fix crash after multiple reinitializations of the interpreter. | Antoine Pitrou | 2012-09-12 | 1 | -1/+1 |
| | | |||||
* | | remove useless and defined initialization (closes #15921) | Benjamin Peterson | 2012-09-11 | 1 | -1/+1 |
| | | |||||
* | | MERGE: Closes #15793: Stack corruption in ssl.RAND_egd() | Jesus Cea | 2012-09-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes #15793: Stack corruption in ssl.RAND_egd() | Jesus Cea | 2012-09-11 | 1 | -1/+1 |
| | | |||||
* | | MERGE: #15676: mmap: add empty file check prior to offset check <- Previous ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
|\ \ | |/ | | | | | patch was incomplete (fix 2) | ||||
| * | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
| | | | | | | | | was incomplete (fix 2) | ||||
* | | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+5 |
|\ \ | |/ | | | | | was incomplete | ||||
| * | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+5 |
| | | | | | | | | was incomplete | ||||
* | | Issue #15882: Change _decimal to accept any coefficient tuple when | Stefan Krah | 2012-09-10 | 1 | -0/+7 |
| | | | | | | | | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification). | ||||
* | | Fixed reference leak in error branch of _bufferedreader_read_all(). The ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | | | | variable data can contain a bytes object but it wasn't cleaned up when PyList_New() failed. CID 715364 | ||||
* | | Fixed out-of-bounce write to rawmode buffer. The fixed size buffer wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+1 |
| | | | | | | | | enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte | ||||
* | | Fixed two memory leaks in make_filename() in zipimport.c. The allocated ↵ | Christian Heimes | 2012-09-10 | 1 | -2/+6 |
| | | | | | | | | buffer wasn't cleaned up in two error cases. CID 486832 | ||||
* | | Make sure that *really* no more than sizeof(ifr.ifr_name) chars are ↵ | Christian Heimes | 2012-09-09 | 1 | -1/+2 |
| | | | | | | | | strcpy-ed to ifr.ifr_name and that the string is *always* NUL terminated. New code shouldn't use strcpy(), too. CID 719692 | ||||
* | | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+5 |
| | | |||||
* | | Merge 3.2. | Stefan Krah | 2012-09-08 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #15868: Fix refleak in bytesio.c (Coverity #715365). | Stefan Krah | 2012-09-08 | 1 | -1/+3 |
| | | |||||
* | | Issue #15876: Fix a refleak in the curses module | Ross Lagerwall | 2012-09-07 | 1 | -0/+1 |
| | | | | | | | | The refleak occurred when assigning to window.encoding. | ||||
* | | _testbuffer.c: In all current use cases of cmp_structure() dest->format and | Stefan Krah | 2012-09-06 | 1 | -3/+2 |
| | | | | | | | | | | src->format are either both NULL or both non-NULL. However, it is safer to generalize the function. Found by Coverity. | ||||
* | | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 2 | -8/+31 |
|\ \ | |/ | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura. | ||||
| * | Issue #15841: The readable(), writable() and seekable() methods of BytesIO | Antoine Pitrou | 2012-09-05 | 2 | -8/+31 |
| | | | | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura. | ||||
* | | Close #14223: Fix window.addch(curses.ACS_HLINE) | Victor Stinner | 2012-09-01 | 1 | -27/+7 |
| | | | | | | | | | | | | | | | | | | Fix window.addch() of the curses module for special characters like curses.ACS_HLINE: the Python function addch(int) and addch(bytes) is now calling the C function waddch()/mvwaddch() (as it was done in Python 3.2), instead of wadd_wch()/mvwadd_wch(). The Python function addch(str) is still calling the C function wadd_wch()/mvwadd_wch() if the Python curses is linked to libncursesw. | ||||
* | | Issue #15785: Modify window.get_wch() API of the curses module: return a | Victor Stinner | 2012-08-28 | 1 | -1/+4 |
| | | | | | | | | | | | | character for most keys, and an integer for special keys, instead of always returning an integer. So it is now possible to distinguish special keys like keypad keys. | ||||
* | | Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is | Ronald Oussoren | 2012-08-25 | 4 | -7/+125 |
|\ \ | |/ | | | | | | | | | compiled using the clang compiler (merge from 3.2) | ||||
| * | Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is ↵ | Ronald Oussoren | 2012-08-25 | 4 | -7/+125 |
| | | | | | | | | compiled using the clang compiler | ||||
* | | Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. | Mark Dickinson | 2012-08-24 | 1 | -1/+17 |
| | | |||||
* | | Merge with 3.2 | Ross Lagerwall | 2012-08-24 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue 15777: Fix a refleak in _posixsubprocess. | Ross Lagerwall | 2012-08-24 | 1 | -1/+3 |
| | | | | | | | | It was exposed by 03c98d05b140 and dbbf3ccf72e8. | ||||
* | | Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner. | Stefan Krah | 2012-08-23 | 1 | -2/+14 |
| | | |||||
* | | mpd_qpowmod(): calculate result with zero-exponent for compatibility with | Stefan Krah | 2012-08-23 | 2 | -23/+17 |
| | | | | | | | | decimal.py. The hack to remove the ideal exponent is no longer required. | ||||
* | | Use zero bottom margin. | Stefan Krah | 2012-08-22 | 1 | -3/+0 |
| | | |||||
* | | In the 32-bit build, dec_hash() raised InvalidOperation if the operand | Stefan Krah | 2012-08-22 | 2 | -4/+57 |
| | | | | | | | | | | | | had a coefficient with MAX_PREC=425000000 digits and a negative exponent. Increasing the context limits above the official values fixes the issue and is safe (in this case!). | ||||
* | | 1) Use _mpd_basedivmod() regardless of the length of the dividend. This is | Stefan Krah | 2012-08-22 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | | | required for a corner case in dec_hash() in the following commit and also usually faster. dec_hash() needs some extra precision above MPD_MAX_PREC, and _mpd_base_ndivmod() is not audited for that. 2) Use _mpd_basemul() if the length of the smaller operand is less than or equal to 256. While this is technically an optimization, it is required for *testing* corner cases in dec_hash() in reasonable time. | ||||
* | | Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set ↵ | Ronald Oussoren | 2012-08-22 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | | | | | on Mac OS X. This is due to an off-by-one error: the allocated buffer didn't have room for a NUL character at the end of the mbstowcs result. (merge with 3.2) | ||||
| * | Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set ↵ | Ronald Oussoren | 2012-08-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | on Mac OS X. This is due to an off-by-one error: the allocated buffer didn't have room for a NUL character at the end of the mbstowcs result. | ||||
* | | Fix typo in error handling for WaitForMultipleObjects() | Richard Oudkerk | 2012-08-21 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.2. | Stefan Krah | 2012-08-20 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #15738: Fix a missing NULL check in subprocess_fork_exec(). | Stefan Krah | 2012-08-20 | 1 | -0/+2 |
| | | |||||
* | | Closes #15737: Fix potential NULL dereference in zipimport.c. | Stefan Krah | 2012-08-20 | 1 | -2/+2 |
| | | |||||
* | | Issue #15477: Merge fix from 3.2 | Mark Dickinson | 2012-08-18 | 2 | -6/+25 |
|\ \ | |/ | |||||
| * | Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken. | Mark Dickinson | 2012-08-18 | 2 | -6/+25 |
| | | |||||
* | | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 7 | -68/+63 |
|\ \ | |/ | | | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
| * | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 7 | -31/+63 |
| | | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
* | | Merge 3.2 to default | Andrew Svetlov | 2012-08-14 | 1 | -1/+1 |
|\ \ | |/ |