summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove ISSUES.txt.Stefan Krah2012-07-011-56/+0
|
* - Issue #15194: check in the missing m4/ax_append_flag.m4 file.doko@ubuntu.com2012-06-303-1/+92
| | | | Regenerate aclocalm4 and configure.
* - Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.doko@ubuntu.com2012-06-303-167/+1341
| | | | Regenerate aclocalm4 and configure.
* - Issue #14330: Don't derive the include and library search dirsdoko@ubuntu.com2012-06-302-147/+154
| | | | from GCC for native builds
* null mergedoko@ubuntu.com2012-06-301-4/+4
|\
| * After 79d2eb29c755 it is no longer necessary to zero the output array:Stefan Krah2012-06-301-4/+4
| | | | | | | | | | | | None of the _mpd_shortadd() or _mpd_shortmul() functions read uninitialized values. Previously zeroing was required since _mpd_real_size() was called on the output array.
* | - Regenerate the libffi configure filedoko@ubuntu.com2012-06-302-9479/+1023
|/
* Proactive reliability fix for broken FPUs: The base conversion functionsStefan Krah2012-06-305-198/+409
| | | | | | | | | | use log10() to calculate the size of the output array. The current code has been tested on x86/amd64 (and to a lesser extent on qemu-mips qemu-sparc) and produces sufficiently large values for all inputs tested so far (coefficient sizes of 10**18 - 1 are hard to test exhaustively). The new code does not rely on the correctness of log10() and resizes the output arrays if the allocated space is insufficient.
* Issue #5067: improve some json error messages.Antoine Pitrou2012-06-281-4/+4
|\ | | | | | | Patch by Serhiy Storchaka.
| * Issue #5067: improve some json error messages.Antoine Pitrou2012-06-281-4/+4
| | | | | | | | Patch by Serhiy Storchaka.
* | Remove dead codeVictor Stinner2012-06-271-36/+0
| | | | | | | | | | os.urandom() has now one unique implementation, posix_urandom() which calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS.
* | - whitespace-normalize libffi fileMatthias Klose2012-06-261-4/+4
| |
* | - Issue #15194: Update libffi to the 3.0.11 release.doko@ubuntu.com2012-06-26191-6036/+29940
| |
* | Use ValueError, not RuntimeError for a utime flag combination illegal on ↵Georg Brandl2012-06-261-1/+1
| | | | | | | | some systems.
* | If main() is called and an argument cannot be decoded, make sure toBrett Cannon2012-06-251-0/+1
| | | | | | | | | | | | free the copy of the command-line. Found using Clang's static analyzer.
* | Issue #15181: importlib bytecode is unsigned and shouldn't have negative ↵Antoine Pitrou2012-06-251-3/+4
| | | | | | | | | | | | numbers. This fixes a compiler warning with suncc.
* | Update test script to Visual Studio 2010.Stefan Krah2012-06-252-42/+32
| |
* | Issue #15176: Clarified behavior, documentation, and implementationLarry Hastings2012-06-251-13/+22
| | | | | | | | of os.listdir().
* | Minor grammar refinement for hmac.compare_digest().Larry Hastings2012-06-251-2/+2
| |
* | Small wording update from Larry.Georg Brandl2012-06-241-1/+1
| |
* | Improve hmac.compare_digest() docstring and documentation, courtesy of Larry H.Georg Brandl2012-06-241-7/+7
| |
* | Make the benchmark more fair for _decimal/decimal.py by setting context.precStefan Krah2012-06-241-6/+6
| | | | | | | | only once (float obviously doesn't set any context at all).
* | Whitespace cleanup.Georg Brandl2012-06-241-6/+6
| |
* | Remove unused variable.Georg Brandl2012-06-241-1/+0
| |
* | Fix a refleak in c82451eeb595.Georg Brandl2012-06-241-3/+1
| |
* | Issue #15061: Re-implemented hmac.compare_digest() in CChristian Heimes2012-06-241-0/+142
| |
* | Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-241-24/+138
| | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects).
* | Closes #15161: add support for giving path as a fd for truncate() and ↵Georg Brandl2012-06-241-20/+62
| | | | | | | | pathconf().
* | Speed up _decimal by another 10-15% by caching the thread local contextStefan Krah2012-06-241-21/+58
| | | | | | | | | | that was last accessed. In the pi benchmark (64-bit platform, prec=9), _decimal is now only 1.5x slower than float.
* | Issue #14815: Bugfix: the PyLong fed into the seed generator must be unsigned.Larry Hastings2012-06-241-4/+5
| |
* | Issue #14815: Use Py_ssize_t instead of long for the object hash, toLarry Hastings2012-06-241-2/+2
| | | | | | | | preserve all 64 bits of hash on Win64.
* | Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-245-10/+49
|\ \ | |/ | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
| * Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-245-8/+49
| | | | | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
* | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"Larry Hastings2012-06-231-34/+67
| | | | | | | | | | | | | | parameter from os.remove / os.unlink. Patch written by Georg Brandl. (I'm really looking forward to George getting commit privileges so I don't have to keep doing checkins on his behalf.)
* | Fix test_re failure under Windows.Antoine Pitrou2012-06-231-5/+1
| |
* | Try to fix shutil.which() tests on Windows by fixing a typo introduced in ↵Georg Brandl2012-06-231-1/+1
| | | | | | | | 27f9c26fdd8b in posix_access().
* | Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
|\ \ | |/
| * Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
| |
* | Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.)Larry Hastings2012-06-231-2/+5
| |
* | Issue #14626: Fix buildbot issue on x86 Tiger 3.x.Larry Hastings2012-06-231-1/+1
| |
* | Issue #14626: Large refactoring of functions / parameters in the os module.Larry Hastings2012-06-221-2318/+2528
| | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings.
* | Whitespace.Stefan Krah2012-06-221-1/+1
| |
* | Issue #9527: tm_gmtoff has 'correct' sign.Alexander Belopolsky2012-06-221-7/+3
| |
* | MergeAntoine Pitrou2012-06-222-25/+22
|\ \
| * | Issue #15124: Optimize _thread.LockType deletion and acquisition whenKristjan Valur Jonsson2012-06-221-21/+17
| | | | | | | | | | | | not contested, similar to what _thread.RLock already has.
| * | Fixed compiler warnings in datetime_astimezone()Alexander Belopolsky2012-06-221-4/+5
| | |
* | | Add forgotten files for #14837.Antoine Pitrou2012-06-221-0/+1653
| | |
* | | Issue #14837: SSL errors now have `library` and `reason` attributes ↵Antoine Pitrou2012-06-221-63/+199
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | describing precisely what happened and in which OpenSSL submodule. The str() of a SSLError is also enhanced accordingly. NOTE: this commit creates a reference leak. The leak seems tied to the use of PyType_FromSpec() to create the SSLError type. The leak is on the type object when it is instantiated: >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 35 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 36 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 37
* | Issue #9527: Fixes for platforms without tm_zoneAlexander Belopolsky2012-06-221-20/+22
| |
* | Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-222-3/+25
| |