summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-032-2/+7
| | | | Patch by Guilherme Gonçalves.
* Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
| | | | (other than a bytes object).
* Closes #14158: improved resilience to test files left behind.Vinay Sajip2012-03-023-11/+33
|
* Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-014-3/+110
| | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-02-291-0/+22
|
* #10713: Improve documentation for \b and \B and add a few tests. Initial ↵Ezio Melotti2012-02-291-0/+26
| | | | patch and tests by Martin Pool.
* Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-17/+14
|
* Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.Antoine Pitrou2012-02-271-3/+10
| | | | Patch by Mikhail Novikov.
* MergeAntoine Pitrou2012-02-271-18/+5
|\
| * Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.Nadeem Vawda2012-02-261-18/+5
| |
* | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵Antoine Pitrou2012-02-261-0/+20
|/ | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński.
* Set archive format explicitly in one distutils testÉric Araujo2012-02-261-1/+2
|
* Add test file for scripts in Tools (#13447).Éric Araujo2012-02-251-0/+39
| | | | | | | | When people find bugs in scripts such as reindent.py, msgfmt.py or pygettext.py, we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. This test file is a way to stop that unsatisfactory state of things and write proper unit tests instead.
* Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-253-48/+131
| | | | | | | | | | | | | | | These regex changes fix a number of issues for distutils on Windows: - #6884: impossible to include a file starting with 'build' - #9691 and #14004: sdist includes too many files - #13193: test_filelist failures This commit replaces the incorrect changes done in 0a94e2f807c7 and 90b30d62caf2 to fix #13193; we were too eager to fix the test failures and I did not study the code enough before greenlighting patches. This time we have unit tests from the problems reported by users to be sure we have the right fix. Thanks to Nadeem Vawda for his help.
* merge 3.2.2 release branch for rcBenjamin Peterson2012-02-242-2/+2
|\
| * Bump version to 3.2.3rc1.Georg Brandl2012-02-232-2/+2
| |
* | Merged upstream changes.Vinay Sajip2012-02-231-14/+14
|\ \
| * \ merge headsGeorg Brandl2012-02-231-14/+14
| |\ \ | | |/
| | * Update pydoc topics.Georg Brandl2012-02-231-14/+14
| | |
* | | Fix added for recent changes in non-threading environments.Vinay Sajip2012-02-232-7/+28
|/ /
* | logging: Added locking in flush() and close() handler methods. Thanks to ↵Vinay Sajip2012-02-232-29/+35
|/ | | | Fayaz Yusuf Khan for the suggestion.
* Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
|
* sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen2012-02-211-0/+18
| | | | Closes #8033.
* HTMLParser is now able to handle slashes in the start tag.Ezio Melotti2012-02-212-7/+32
|
* Disable an inspect test: it depends on dict ordering which parameter is ↵Georg Brandl2012-02-201-1/+2
| | | | reported as duplicate.
* Delete the iterator, which could accidentally keep a temporary reference to ↵Antoine Pitrou2012-02-201-0/+1
| | | | the yielded element.
* Make "regrtest -j" "-R"-awareAntoine Pitrou2012-02-201-0/+1
|
* Fix obscure failures of datetime-related tests due to the datetime tests ↵Georg Brandl2012-02-202-19/+23
| | | | failing to restore the system state completely after testing the pure-Python versions.
* Fix dbm_gnu test relying on set order.Georg Brandl2012-02-201-1/+1
|
* Fix use of deprecated assertRegexpMatches method.Georg Brandl2012-02-201-1/+1
|
* Remove setting hash seed to regrtest's random seed and re-execv()ing: this ↵Georg Brandl2012-02-201-5/+0
| | | | doesn't preserve Python flags and fails from a temp directory.
* Another test_dis dict order dependency.Georg Brandl2012-02-201-6/+6
|
* Merge with 3.1.Georg Brandl2012-02-201-1/+1
|\
| * don't rely on the order of module clearingBenjamin Peterson2012-02-201-1/+1
| |
* | Fix test_dis dependency on dict order.Georg Brandl2012-02-201-6/+7
| |
* | Fix use of deprecated assert_ method.Georg Brandl2012-02-201-2/+2
| |
* | Fix "sys.path modified" warning in test_strlit, by not replacing sys.path ↵Georg Brandl2012-02-201-1/+1
| | | | | | | | itself, only its contents.
* | Fix bad inheritance in test_subprocess that led to a number of tests being ↵Georg Brandl2012-02-201-1/+1
| | | | | | | | executed twice.
* | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-2015-47/+200
|\ \ | |/ | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-2013-39/+184
| | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | Test for issue #13500Jesus Cea2012-02-191-0/+29
| |
* | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-182-7/+12
|\ \ | |/ | | | | upon malformed POST request.
| * Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-1/+4
| | | | | | | | upon malformed POST request.
| * Revert fix for #13807 mistakenly applied in this branch.Vinay Sajip2012-02-031-1/+1
| |
* | Fix a variable scoping error in an sqlite3 testPetri Lehtinen2012-02-171-0/+1
| | | | | | | | Closes #11689.
* | Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-8/+9
| |
* | don't use assertSameElements.Gregory P. Smith2012-02-161-1/+1
| |
* | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-162-6/+101
| |
* | Issue #13913: Another fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-2/+2
| |
* | Issue #13913: Fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-1/+1
| |