summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Do not clobber existing flags.Stefan Krah2012-05-311-1/+1
|
* Issue #14909: A number of places were using PyMem_Realloc() apis andKristjan Valur Jonsson2012-05-313-7/+12
| | | | | PyObject_GC_Resize() with incorrect error handling. In case of errors, the original object would be leaked. This checkin fixes those cases.
* Issue #14007: implemented the 'element_factory' feature of TreeBuilder inEli Bendersky2012-05-301-30/+73
| | | | _elementtree, with a test.
* Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and ↵Eli Bendersky2012-05-291-74/+77
| | | | subclassable.
* Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.Eli Bendersky2012-05-291-21/+84
| | | | | Add attrib keyword to Element and SubElement in _elementtree. Patch developed with Ezio Melotti.
* Issue #14775: Fix a potential quadratic dict build-up due to the garbage ↵Antoine Pitrou2012-05-281-3/+57
|\ | | | | | | | | | | collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
| * Issue #14775: Fix a potential quadratic dict build-up due to the garbage ↵Antoine Pitrou2012-05-281-3/+57
| | | | | | | | | | | | collector repeatedly trying to untrack dicts. Additional comments by Tim Silk.
* | Issue #9041: raised exception is misleadingMeador Inge2012-05-281-25/+5
|\ \ | |/ | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
| * Issue #9041: raised exception is misleadingMeador Inge2012-05-281-25/+5
| | | | | | | | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
* | Make multiprocessing's shared memory use memoryview instead of raw pointerRichard Oudkerk2012-05-261-17/+0
| |
* | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-0/+86
| |
* | capitialize utime statusesBenjamin Peterson2012-05-251-20/+20
| |
* | capitialize enum membersBenjamin Peterson2012-05-251-17/+17
| |
* | #4841: Fix FileIO constructor to honor closefd when called repeatedlyHynek Schlawack2012-05-251-3/+7
|\ \ | |/ | | | | Patch by Victor Stinner.
| * #4841: Fix FileIO constructor to honor closefd when called repeatedlyHynek Schlawack2012-05-251-3/+7
| | | | | | | | Patch by Victor Stinner.
* | use PyDict_ContainsBenjamin Peterson2012-05-251-3/+3
| |
* | return NULL on errorBenjamin Peterson2012-05-251-2/+3
| |
* | actually return the resultBenjamin Peterson2012-05-251-1/+1
| |
* | simplify and rewrite the zipimport part of 702009f3c0b1 a bitBenjamin Peterson2012-05-251-51/+41
| |
* | plug ref leakBenjamin Peterson2012-05-251-0/+1
| |
* | issue 14660: Implement PEP 420, namespace packages.Eric V. Smith2012-05-251-8/+140
| |
* | Issue #14849: setup Element data members to be assignable in subclassesEli Bendersky2012-05-201-13/+12
| |
* | Issue #14779: Get sizeof(void *) directly rather than relying on sysconfig.Stefan Krah2012-05-161-0/+7
| |
* | Fix Visual Studio warning.Stefan Krah2012-05-161-1/+1
| |
* | Changes in _mpd_qexp():Stefan Krah2012-05-161-46/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------- 1) Reduce the number of iterations in the Horner scheme for operands with a negative adjusted exponent. Previously the number was overestimated quite generously. 2) The function _mpd_get_exp_iterations() now has an ACL2 proof and is rewritten accordingly. 3) The proof relies on abs(op) > 9 * 10**(-prec-1), so operands without that property are now handled by the new function _mpd_qexp_check_one(). 4) The error analysis for the evaluation of the truncated Taylor series in Hull&Abrham's paper relies on the fact that the reduced operand 'r' has fewer than context.prec digits. Since the operands may have more than context.prec digits, a new ACL2 proof covers the case that r.digits > context.prec. To facilitate the proof, the Horner step now uses fma instead of rounding twice in multiply/add. Changes in mpd_qexp(): ---------------------- 1) Fix a bound in the correct rounding loop that was too optimistic. In practice results were always correctly rounded, because it is unlikely that the error in _mpd_qexp() ever reaches the theoretical maximum.
* | Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** ↵Antoine Pitrou2012-05-161-2/+2
|\ \ | |/ | | | | | | | | 32) under 64-bit Windows. (untested, because of Windows build issues under 3.x)
| * Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** ↵Antoine Pitrou2012-05-161-1/+2
| | | | | | | | 32) under 64-bit Windows.
* | Issue #14732: The _csv module now uses PEP 3121 module initialization.Antoine Pitrou2012-05-161-35/+70
| | | | | | | | Patch by Robin Schreiber.
* | Add safecase to silence Win64 warning.Martin v. Löwis2012-05-151-1/+2
| |
* | Silence VS 2010 warning on loss of precision (_int64 -> _int32).Martin v. Löwis2012-05-151-1/+1
| | | | | | | | This is safe because the actual value is already range-checked.
* | Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-131-0/+27
| |
* | Remove uninitialized compiler warning.Ross Lagerwall2012-05-121-1/+5
| |
* | Issue #14741: Merge fix from 3.2.Mark Dickinson2012-05-071-5/+1
|\ \ | |/
| * Issue #14741: Fix missing support for ellipsis in parser module.Mark Dickinson2012-05-071-5/+1
| |
* | Issue #14697: Merge fix from 3.2.Mark Dickinson2012-05-071-21/+79
|\ \ | |/
| * Issue #14697: Fix missing parser module support for set displays and set ↵Mark Dickinson2012-05-071-21/+79
| | | | | | | | comprehensions.
* | Issue #14701: Merge fix from 3.2.Mark Dickinson2012-05-071-12/+11
|\ \ | |/
| * Issue #14701: Add missing support for 'raise ... from' in parser module.Mark Dickinson2012-05-071-12/+11
| |
| * Fix for issue 14725 for 3.2 branchRichard Oudkerk2012-05-051-0/+1
| |
* | Fix buildbot failures in test_lzma.Nadeem Vawda2012-05-061-7/+6
| |
* | Rename lzma.check_is_supported() to is_check_supported() to avoid ↵Nadeem Vawda2012-05-061-6/+6
| | | | | | | | grammatical confusion.
* | Add lzma.{encode,decode}_filter_properties().Nadeem Vawda2012-05-061-4/+182
| |
* | Fix formatting of preset values for exception messages in _lzmamodule.c.Nadeem Vawda2012-05-061-2/+2
| |
* | Backed out changeset 709850f1ec67Benjamin Peterson2012-05-061-333/+31
| |
* | Update Misc/NEWS for issues #14127 and #14705. (And, technically, #10148.)Larry Hastings2012-05-061-31/+333
| |
* | Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support.Larry Hastings2012-05-051-0/+10
| |
* | Fix typo in exception message.Stefan Krah2012-05-051-1/+1
| |
* | Fix for Issue 14725 for 3.3 branch.Richard Oudkerk2012-05-051-3/+1
| |
* | initialization not neededBenjamin Peterson2012-05-041-1/+1
| |
* | Fix for fatal errors in os.*utime*()Richard Oudkerk2012-05-041-1/+1
| | | | | | | | The address of an object was being decreffed instead of the object.