summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.2Benjamin Peterson2012-04-231-1/+1
|\
| * sleep hereBenjamin Peterson2012-04-231-1/+1
| |
* | Issue #14605: Expose importlib.abc.FileLoader andBrett Cannon2012-04-2214-91/+140
| | | | | | | | | | | | | | | | importlib.machinery.(FileFinder, SourceFileLoader, _SourcelessFileLoader, ExtensionFileLoader). This exposes all of importlib's mechanisms that will become public on the sys module.
* | mergeBrett Cannon2012-04-222-2/+2
|\ \
| * | Issue #14644: Increased default timeout for SMTPHandler. Note: last commit ↵Vinay Sajip2012-04-221-1/+1
| | | | | | | | | | | | message referred to the wrong issue number.
| * | Issue #14622: Increased default timeout for SMTPHandler.Vinay Sajip2012-04-221-1/+1
| | |
* | | Change tests for imp.cache_from_source() to follow os.path.join/splitBrett Cannon2012-04-221-43/+32
|/ / | | | | | | semantics.
* | mergeBrett Cannon2012-04-222-12/+10
|\ \
| * | Use os.path.samestat() instead of reinventing the wheel.Charles-François Natali2012-04-221-9/+2
| | |
| * | Resolve #14026 (Merge from 3.2)Nick Coghlan2012-04-221-3/+8
| |\ \ | | |/
| | * Close issue #14026 by better testing sys.argv handling in ↵Nick Coghlan2012-04-221-3/+8
| | | | | | | | | | | | test_cmd_line_script (patch by Jason Yeo)
* | | Issue #13959: Continue to try to accomodate altsep in importlib by notBrett Cannon2012-04-221-5/+11
|/ / | | | | | | ignoring altsep if it already exists on a path when doing a join.
* | Revert to os.path.join() semantics for path manipulation in importlibBrett Cannon2012-04-221-11/+2
| | | | | | | | which is different than what imp.cache_from_source() operates on.
* | Continue the good fight to get Windows to like importlib by fixing aBrett Cannon2012-04-221-1/+3
| | | | | | | | variable name.
* | mergeBrett Cannon2012-04-222-1/+10
|\ \
| * \ merge headsSenthil Kumaran2012-04-221-4/+67
| |\ \
| * | | Fix Issue2193 - Allow ":" character in Cookie NAME valuesSenthil Kumaran2012-04-222-1/+10
| | | |
* | | | Have importlib look for pre-existing path separators when joiningBrett Cannon2012-04-221-2/+10
| |/ / |/| | | | | | | | paths.
* | | Fix whitespace.Brett Cannon2012-04-221-1/+0
| | |
* | | Issue #13959: Re-implement imp.find_module() in Lib/imp.py.Brett Cannon2012-04-221-4/+68
|/ / | | | | | | Thanks to Eric Snow for taking an initial stab at the implementation.
* | Issue #14637: Fix the UNC import test under Windows to actually useBrett Cannon2012-04-211-4/+8
| | | | | | | | | | | | the UNC path. Also clean up sys.path and invalidate finder caches. Thanks to Vinay Sajip for spotting the use of the wrong path.
* | Don't worry about moving imp.get_tag() over to Lib/imp.py.Brett Cannon2012-04-212-3/+5
| |
* | mergeBrett Cannon2012-04-213-7/+38
|\ \
| * | Remove incorrect commentMichael Foord2012-04-211-1/+0
| | |
| * | Closes issue 14634. unittest.mock.create_autospec now supports keyword only ↵Michael Foord2012-04-212-4/+22
| | | | | | | | | | | | arguments.
| * | Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-212-3/+17
| | |
* | | Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py.Brett Cannon2012-04-212-2/+30
| | |
* | | Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py.Brett Cannon2012-04-212-8/+30
| | |
* | | Make path manipulation more robust for platforms with alternative pathBrett Cannon2012-04-211-16/+27
|/ / | | | | | | separators.
* | Issue #13959: Keep imp.get_magic() in C code, but cache in importlibBrett Cannon2012-04-202-5/+11
| | | | | | | | | | | | for performance. While get_magic() could move to Lib/imp.py, having to support PyImport_GetMagicNumber() would lead to equal, if not more, C code than sticking with the status quo.
* | Fix a cleanup.Brett Cannon2012-04-201-1/+1
| |
* | MergeBrett Cannon2012-04-201-0/+14
|\ \
| * \ Issue #14630: Merge fix from 3.2.Mark Dickinson2012-04-201-0/+14
| |\ \ | | |/
| | * Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of ↵Mark Dickinson2012-04-201-0/+14
| | | | | | | | | | | | an int subclass.
* | | Use a skipUnless decorator instead of conditional renaming.Brett Cannon2012-04-201-3/+1
|/ /
* | Issue #14585: test_import now runs all tests underBrett Cannon2012-04-202-15/+35
| | | | | | | | | | importlib.test.import_ using builtins.__import__() instead of just the relative import tests.
* | Issue #14599: Generalize a test for ImportError.path and add supportBrett Cannon2012-04-202-22/+11
| | | | | | | | | | | | | | in Python/dynload_shlibs.c. This should fix the remaining importlib test failure on Windows. Support in AIX and HP-UX will be in a separate checkin.
* | Try to debug a Windows failure on the buildbots.Brett Cannon2012-04-201-1/+4
| |
* | Issue #14629: Mention the filename in SyntaxError exceptions fromBrett Cannon2012-04-202-3/+48
| | | | | | | | tokenizer.detect_encoding() (when available).
* | Issue #14633: Simplify imp.find_modue() test after fixes from issueBrett Cannon2012-04-201-4/+2
| | | | | | | | #14629 changed the message.
* | Issue #14581: Windows users are allowed to import modules w/o takingBrett Cannon2012-04-201-1/+17
| | | | | | | | | | the file suffix's case into account, even when doing a case-sensitive import.
* | Have importlib.test.regrtest clear sys.path_importer_cache to makeBrett Cannon2012-04-201-0/+1
| | | | | | | | sure finders from importlib are used instead of _frozen_importlib.
* | merge 3.2: issue 14629Martin v. Löwis2012-04-202-2/+15
|\ \ | |/
| * Issue #14629: Raise SyntaxError in tokenizer.detect_encodingMartin v. Löwis2012-04-202-2/+15
| | | | | | | | if the first two lines have non-UTF-8 characters without an encoding declaration.
* | Close #14386: Register types.MappingProxyType as a MappingVictor Stinner2012-04-191-1/+3
| |
* | Issue #14127: Add st_{cma}time_ns fields to os.stat() result object.Larry Hastings2012-04-191-0/+7
| |
* | Issue #14308: Fix an exception when a dummy thread is in the threading ↵Antoine Pitrou2012-04-192-0/+32
|\ \ | |/ | | | | module's active list after a fork().
| * Issue #14308: Fix an exception when a "dummy" thread is in the threading ↵Antoine Pitrou2012-04-192-0/+32
| | | | | | | | module's active list after a fork().
* | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+23
| | | | | | | | Patch by Stefan Behnel.
* | Merge from 3.2Nick Coghlan2012-04-191-1/+1
|\ \ | |/