summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14063: fix test_importlib failure under OS X case-insensitive filesystemsAntoine Pitrou2012-02-201-11/+15
| | | | (regression)
* put docstrings on functionsBenjamin Peterson2012-02-201-2/+2
|
* Fix use of assertRaises following c760bd844222 (spotted by Alex Gaynor).Antoine Pitrou2012-02-201-0/+2
|
* Issue #13641: Decoding functions in the base64 module now accept ASCII-only ↵Antoine Pitrou2012-02-202-70/+119
| | | | | | unicode strings. Patch by Catalin Iacob.
* _relax_case -> _make_relax_caseAntoine Pitrou2012-02-201-3/+4
|
* Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new ↵Antoine Pitrou2012-02-205-50/+79
| | | | | | importlib.invalidate_caches() function. importlib is now often faster than imp.find_module() at finding modules.
* Fix a failing importlib test under Windows.Brett Cannon2012-02-201-1/+2
| | | | Closes issue #14054.
* fix test now that staticmethod and classmethod are biggerBenjamin Peterson2012-02-201-2/+2
|
* Fix last remaining build issues of _ssl under old OpenSSLs. Patch by Vinay.Antoine Pitrou2012-02-191-1/+2
|
* Create _attr/_attrNS lazily.Martin v. Löwis2012-02-192-9/+34
|
* Use __slots__ throughout instead of __dict__, to reduce the memory usage.Martin v. Löwis2012-02-192-141/+114
|
* initialize __dict__ if neededBenjamin Peterson2012-02-191-0/+2
|
* allow arbitrary attributes on classmethod and staticmethod (closes #14051)Benjamin Peterson2012-02-191-0/+13
|
* 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-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
| | |
* | | Merge branch '3.2'Petri Lehtinen2012-02-171-0/+1
|\ \ \ | |/ / | | | | | | Closes #11689.
| * | Fix a variable scoping error in an sqlite3 testPetri Lehtinen2012-02-171-0/+1
| | | | | | | | | | | | Closes #11689.
* | | Try to really fix compilation failures of the _ssl module under very old ↵Antoine Pitrou2012-02-171-1/+5
| | | | | | | | | | | | OpenSSLs.
* | | Branch mergeÉric Araujo2012-02-172-1/+6
|\ \ \
| * | | Fix code I unwittingly broke in b0e2d6592a1f (#14038)Éric Araujo2012-02-171-1/+1
| | | |
| * | | Add test for packaging.util.set_platform (#13974).Éric Araujo2012-02-161-0/+5
| | | | | | | | | | | | | | | | Patch by Tshepang Lekhonkhobe.
* | | | Fix importlib.test.__main__ to only worry about command-line flags when ↵Brett Cannon2012-02-171-8/+9
| | | | | | | | | | | | | | | | directly executed.
* | | | Optimize importlib's case-sensitivity check by wasting as little time as ↵Brett Cannon2012-02-171-13/+23
| | | | | | | | | | | | | | | | possible under case-sensitive OSs.
* | | | Have importlib.test use argparse instead of some hacked up solution.Brett Cannon2012-02-171-3/+8
| | | |
* | | | Have importlib use os.replace() for atomic renaming.Brett Cannon2012-02-171-17/+6
| | | | | | | | | | | | | | | | Closes issue #13961. Thanks to Charles-François Natali for the patch.
* | | | Tweak the handling of the empty string in sys.path for importlib.Brett Cannon2012-02-162-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems better to cache the finder for the cwd under its full path insetad of '' in case the cwd changes. Otherwise FileFinder needs to dynamically change itself based on whether it is given '' instead of caching a finder for every change to the cwd.
* | | | MergeBrett Cannon2012-02-164-21/+22
|\ \ \ \
| * | | | fix the _namespace_map cleanup for cElementTree tests.Florent Xicluna2012-02-162-6/+3
| | | | |
| * | | | The C accelerator was not always imported for cElementTree's tests. (there's ↵Florent Xicluna2012-02-162-2/+4
| | | | | | | | | | | | | | | | | | | | still an issue with --huntrleaks switch)
| * | | | Merge.Charles-François Natali2012-02-161-71/+130
| |\ \ \ \
| * \ \ \ \ Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-13/+15
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | 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
| | | | | |
* | | | | | importlib.__import__() now raises ValueError when level < 0.Brett Cannon2012-02-162-0/+9
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | This is to bring it more in line with what PEP 328 set out to do with removing ambiguous absolute/relative import semantics.
* | | | | Refactor importlib.__import__() and _gcd_import() to facilitate usingBrett Cannon2012-02-161-71/+130
|/ / / / | | | | | | | | | | | | | | | | an __import__ implementation that takes care of basics in C and punts to importlib for more complicated code.
* | | | make TestAccelerator[Not]Imported for ElementTree more robustEli Bendersky2012-02-162-9/+3
| | | |
* | | | Disabling a test that fails on some bots. Will investigate the failure soonEli Bendersky2012-02-161-2/+2
| | | |
* | | | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-162-6/+101
|\ \ \ \ | |/ / /
| * | | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-162-6/+101
| | | |
* | | | in the tests of ElementTree, verify that the C accelerator is imported or ↵Eli Bendersky2012-02-162-1/+21
| |/ / |/| | | | | | | | not imported as expected
* | | (Merge 3.2) Issue #13913: Another fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-2/+2
|\ \ \ | |/ /
| * | Issue #13913: Another fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-2/+2
| | |
* | | Issue #11836: document and expose multiprocessing.SimpleQueueSandro Tosi2012-02-151-1/+8
|\ \ \ | |/ /
* | | (Merge 3.2) Issue #13913: 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
| | |
* | | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().Antoine Pitrou2012-02-151-0/+40
|\ \ \ | |/ / | | | | | | Patch by Hynek Schlawack.
| * | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().Antoine Pitrou2012-02-151-0/+40
| | | | | | | | | | | | Patch by Hynek Schlawack.