Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|\ \ | |/ | |||||
| * | Modules/socketmodule.c: netdb_lock: define static. | Matthias Klose | 2012-08-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #15424: Add a __sizeof__ implementation for array objects. | Meador Inge | 2012-08-11 | 1 | -0/+15 |
|\ \ | |/ | | | | | Patch by Ludwig Hähne. | ||||
| * | Issue #15424: Add a __sizeof__ implementation for array objects. | Meador Inge | 2012-08-11 | 1 | -0/+15 |
| | | | | | | | | Patch by Ludwig Hähne. | ||||
* | | faulthandler: fix the handler of user signals | Victor Stinner | 2012-08-09 | 1 | -1/+6 |
| | | | | | | | | Restore the errno before calling the previous signal handler, and not after. | ||||
* | | Issue #15589: Ensure double-alignment for brute-force capi argument parser test | Larry Hastings | 2012-08-08 | 1 | -1/+1 |
| | | | | | | | | that occasionally uses doubles. | ||||
* | | Close #13072: Restore code before the PEP 393 for the array module | Victor Stinner | 2012-08-05 | 1 | -38/+48 |
| | | | | | | | | | | | | | | | | 'u' format of the array module uses again Py_UNICODE type for backward compatibility with Python 3.2. The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now checked for NULL value. | ||||
* | | Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and | Antoine Pitrou | 2012-08-04 | 1 | -321/+130 |
| | | | | | | | | | | os.sched_setaffinity now use regular sets of integers to represent the CPUs a process is restricted to. | ||||
* | | (Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n' | Victor Stinner | 2012-08-03 | 2 | -6/+6 |
|\ \ | |/ | | | | | doesn't translate newlines on output. | ||||
| * | open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't | Victor Stinner | 2012-08-03 | 2 | -6/+6 |
| | | | | | | | | translate newlines on output. | ||||
* | | Make TextIOWrapper's documentation clearer by copying the newline argument's ↵ | Antoine Pitrou | 2012-08-03 | 1 | -9/+16 |
|\ \ | |/ | | | | | description from open(). | ||||
| * | Make TextIOWrapper's documentation clearer by copying the newline argument's ↵ | Antoine Pitrou | 2012-08-03 | 1 | -9/+16 |
| | | | | | | | | description from open(). | ||||
* | | MERGE: Closes #15469: Correct __sizeof__ support for deque | Jesus Cea | 2012-08-03 | 1 | -1/+20 |
|\ \ | |/ | |||||
| * | Closes #15469: Correct __sizeof__ support for deque | Jesus Cea | 2012-08-03 | 1 | -1/+20 |
| | | |||||
* | | MERGE: Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -1/+12 |
|\ \ | |/ | |||||
| * | Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -1/+12 |
| | | |||||
* | | Closes #15514: Correct __sizeof__ support for cpu_set | Jesus Cea | 2012-08-03 | 1 | -0/+15 |
| | | |||||
* | | Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation ↵ | Antoine Pitrou | 2012-08-02 | 2 | -2/+2 |
|\ \ | |/ | | | | | | | | | code. Patch by Philipp Hagemeister. | ||||
| * | Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation ↵ | Antoine Pitrou | 2012-08-02 | 2 | -2/+2 |
| | | | | | | | | | | | | code. Patch by Philipp Hagemeister. | ||||
* | | Fix the user signal handler of faulthandler | Victor Stinner | 2012-08-01 | 1 | -3/+2 |
| | | | | | | | | | | Don't exit the tstate is NULL to restore the errno and chain the signal handler if needed. | ||||
* | | Issue #15489: Add a __sizeof__ implementation for BytesIO objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+12 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15489: Add a __sizeof__ implementation for BytesIO objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+12 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+14 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15487: Add a __sizeof__ implementation for buffered I/O objects. | Antoine Pitrou | 2012-07-29 | 1 | -0/+14 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. | Meador Inge | 2012-07-29 | 1 | -6/+2 |
|\ \ | |/ | |||||
| * | Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. | Meador Inge | 2012-07-29 | 1 | -6/+2 |
| | | |||||
* | | Issue #15431: Declare PyImport_FrozenModules conditionally on Unix only. | Martin v. Löwis | 2012-07-28 | 1 | -2/+9 |
| | | |||||
* | | Issue #15431: Add _freeze_importlib project to regenerate importlib.h on ↵ | Martin v. Löwis | 2012-07-28 | 1 | -4/+7 |
| | | | | | | | | | | | | Windows. Patch by Kristján Valur Jónsson. | ||||
* | | Add unused parameter to a couple of METH_NOARGS functions. The previous | Stefan Krah | 2012-07-28 | 1 | -8/+8 |
| | | | | | | | | | | form is used in many places in the source tree, but was found to be incorrect in a recent tracker discussion. | ||||
* | | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. | Stefan Krah | 2012-07-28 | 1 | -0/+44 |
| | |