summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #14127: Fix two bugs with the Windows implementation.Larry Hastings2012-05-041-19/+42
| |
* | what is a invalid tuple?Benjamin Peterson2012-05-041-2/+2
| |
* | clean up converted path on errorBenjamin Peterson2012-05-041-11/+20
| |
* | avoid unitialized memoryBenjamin Peterson2012-05-041-1/+1
| |
* | check correct variable for errorBenjamin Peterson2012-05-041-1/+1
| |
* | Issue #14127: Add ns= parameter to utime, futimes, and lutimes.Larry Hastings2012-05-031-204/+233
| | | | | | | | | | | | Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux!
* | strip is_ prefixes on clock_info fieldsBenjamin Peterson2012-05-011-31/+31
| |
* | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"Richard Oudkerk2012-04-302-2/+4
| | | | | | | | instead of BSD licence.
* | Issue #14696: Merge from 3.2Mark Dickinson2012-04-291-5/+36
|\ \ | |/
| * Issue #14696: Fix parser module to understand 'nonlocal' declarations.Mark Dickinson2012-04-291-5/+36
| |
* | Issue #9154: Merge fix from 3.2.Mark Dickinson2012-04-291-57/+71
|\ \ | |/
| * Issue #9154: Fix parser module to understand function annotations.Mark Dickinson2012-04-291-57/+71
| |
* | Issue #14428, #14397: Implement the PEP 418Victor Stinner2012-04-291-89/+460
| | | | | | | | | | | | | | | | | | * Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions
* | Issue #14605: Use None in sys.path_importer_cache to represent noBrett Cannon2012-04-271-1/+1
| | | | | | | | finder instead of using some (now non-existent) implicit finder.
* | Issue #14605: Stop having implicit entries for sys.meta_path.Brett Cannon2012-04-271-1/+0
| | | | | | | | ImportWarning is raised if sys.meta_path is found to be empty.
* | Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)Victor Stinner2012-04-275-0/+5
| | | | | | | | | | | | * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError()
* | Backing out 86dc014cdd74. Not ready yetJesus Cea2012-04-262-25/+3
| |
* | Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-262-3/+25
| |
* | Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-241-0/+4
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
* | Closes Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT (I add ↵Jesus Cea2012-04-241-0/+10
| | | | | | | | some Solaris constants too)
* | Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INITJesus Cea2012-04-241-0/+9
| |
* | Defensive programming: mpd_isspecial(r) already implies mpd_isspecial(q), butStefan Krah2012-04-201-0/+1
| | | | | | | | this is more readable.