summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Port #16012 fix: parameter parsing regression in pyexpat parser ↵Georg Brandl2012-09-241-1/+1
| | | | UseForeignDTD() method.
* Use C-style comments for C89 / ANSI C compatibilityChristian Heimes2012-09-231-1/+1
|
* Use C-style comments (required for the AIX build slave).Stefan Krah2012-09-231-2/+2
|
* Use C-style comments.Stefan Krah2012-09-231-24/+24
|
* Fixed reference leak in error branch of _bufferedreader_read_all(). The ↵Christian Heimes2012-09-101-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 Heimes2012-09-101-1/+1
| | | | enlarged for the new 'x' flag. The buffer may contain the 5 flags xrwa+ and the \0 byte
* Closes #15973: fix a segmentation fault when comparing timezone objects.Georg Brandl2012-09-221-0/+6
|
* Issue #15926: Fix crash after multiple reinitializations of the interpreter.Antoine Pitrou2012-09-121-1/+1
|
* Closes #15969: rename new API to have consistent names in the faulthandler ↵Georg Brandl2012-09-221-14/+14
| | | | module.
* Issue #15977: Fix memory leak in Modules/_ssl.c when the function ↵Christian Heimes2012-09-201-0/+7
| | | | _set_npn_protocols() is called multiple times
* Issue #15882: Change _decimal to accept any coefficient tuple whenStefan Krah2012-09-101-0/+7
| | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).
* Close #14223: Fix window.addch(curses.ACS_HLINE)Victor Stinner2012-09-011-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 aVictor Stinner2012-08-291-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 isRonald Oussoren2012-08-254-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 Oussoren2012-08-254-7/+125
| | | | | | | | compiled using the clang compiler
* | Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-241-1/+17
| |
* | Merge with 3.2Ross Lagerwall2012-08-241-1/+3
|\ \ | |/
| * Issue 15777: Fix a refleak in _posixsubprocess.Ross Lagerwall2012-08-241-1/+3
| | | | | | | | It was exposed by 03c98d05b140 and dbbf3ccf72e8.
* | Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner.Stefan Krah2012-08-231-2/+14
| |
* | mpd_qpowmod(): calculate result with zero-exponent for compatibility withStefan Krah2012-08-232-23/+17
| | | | | | | | decimal.py. The hack to remove the ideal exponent is no longer required.
* | Use zero bottom margin.Stefan Krah2012-08-221-3/+0
| |
* | In the 32-bit build, dec_hash() raised InvalidOperation if the operandStefan Krah2012-08-222-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 isStefan Krah2012-08-221-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 Oussoren2012-08-221-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 Oussoren2012-08-221-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 Oudkerk2012-08-211-1/+1
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+2
|\ \ | |/
| * Issue #15738: Fix a missing NULL check in subprocess_fork_exec().Stefan Krah2012-08-201-0/+2
| |
* | Closes #15737: Fix potential NULL dereference in zipimport.c.Stefan Krah2012-08-201-2/+2
| |
* | Issue #15477: Merge fix from 3.2Mark Dickinson2012-08-182-6/+25
|\ \ | |/
| * Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.Mark Dickinson2012-08-182-6/+25
| |
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-157-68/+63
|\ \ | |/ | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
| * Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-157-31/+63
| | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
* | Merge 3.2 to defaultAndrew Svetlov2012-08-141-1/+1
|\ \ | |/
| * Modules/socketmodule.c: netdb_lock: define static.Matthias Klose2012-08-141-1/+1
| |
* | Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-101-0/+15
|\ \ | |/ | | | | Patch by Ludwig Hähne.
| * Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-101-0/+15
| | | | | | | | Patch by Ludwig Hähne.
* | faulthandler: fix the handler of user signalsVictor Stinner2012-08-091-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 testLarry Hastings2012-08-081-1/+1
| | | | | | | | that occasionally uses doubles.
* | Close #13072: Restore code before the PEP 393 for the array moduleVictor Stinner2012-08-061-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 andAntoine Pitrou2012-08-041-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 Stinner2012-08-042-6/+6
|\ \ | |/ | | | | doesn't translate newlines on output.
| * open() / TextIOWrapper doc: make it explicit than newline='\n' doesn'tVictor Stinner2012-08-042-6/+6
| | | | | | | | translate newlines on output.
* | Make TextIOWrapper's documentation clearer by copying the newline argument's ↵Antoine Pitrou2012-08-041-9/+16
|\ \ | |/ | | | | description from open().
| * Make TextIOWrapper's documentation clearer by copying the newline argument's ↵Antoine Pitrou2012-08-041-9/+16
| | | | | | | | description from open().
* | MERGE: Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
|\ \ | |/
| * Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
| |
* | MERGE: Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-1/+12
|\ \ | |/
| * Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-1/+12
| |
* | Closes #15514: Correct __sizeof__ support for cpu_setJesus Cea2012-08-031-0/+15
| |