Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 3.2 | Benjamin Peterson | 2012-04-23 | 1 | -1/+1 |
|\ | |||||
| * | sleep here | Benjamin Peterson | 2012-04-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #14605: Expose importlib.abc.FileLoader and | Brett Cannon | 2012-04-22 | 14 | -91/+140 |
| | | | | | | | | | | | | | | | | importlib.machinery.(FileFinder, SourceFileLoader, _SourcelessFileLoader, ExtensionFileLoader). This exposes all of importlib's mechanisms that will become public on the sys module. | ||||
* | | merge | Brett Cannon | 2012-04-22 | 2 | -2/+2 |
|\ \ | |||||
| * | | Issue #14644: Increased default timeout for SMTPHandler. Note: last commit ↵ | Vinay Sajip | 2012-04-22 | 1 | -1/+1 |
| | | | | | | | | | | | | message referred to the wrong issue number. | ||||
| * | | Issue #14622: Increased default timeout for SMTPHandler. | Vinay Sajip | 2012-04-22 | 1 | -1/+1 |
| | | | |||||
* | | | Change tests for imp.cache_from_source() to follow os.path.join/split | Brett Cannon | 2012-04-22 | 1 | -43/+32 |
|/ / | | | | | | | semantics. | ||||
* | | merge | Brett Cannon | 2012-04-22 | 2 | -12/+10 |
|\ \ | |||||
| * | | Use os.path.samestat() instead of reinventing the wheel. | Charles-François Natali | 2012-04-22 | 1 | -9/+2 |
| | | | |||||
| * | | Resolve #14026 (Merge from 3.2) | Nick Coghlan | 2012-04-22 | 1 | -3/+8 |
| |\ \ | | |/ | |||||
| | * | Close issue #14026 by better testing sys.argv handling in ↵ | Nick Coghlan | 2012-04-22 | 1 | -3/+8 |
| | | | | | | | | | | | | test_cmd_line_script (patch by Jason Yeo) | ||||
* | | | Issue #13959: Continue to try to accomodate altsep in importlib by not | Brett Cannon | 2012-04-22 | 1 | -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 importlib | Brett Cannon | 2012-04-22 | 1 | -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 a | Brett Cannon | 2012-04-22 | 1 | -1/+3 |
| | | | | | | | | variable name. | ||||
* | | merge | Brett Cannon | 2012-04-22 | 2 | -1/+10 |
|\ \ | |||||
| * \ | merge heads | Senthil Kumaran | 2012-04-22 | 1 | -4/+67 |
| |\ \ | |||||
| * | | | Fix Issue2193 - Allow ":" character in Cookie NAME values | Senthil Kumaran | 2012-04-22 | 2 | -1/+10 |
| | | | | |||||
* | | | | Have importlib look for pre-existing path separators when joining | Brett Cannon | 2012-04-22 | 1 | -2/+10 |
| |/ / |/| | | | | | | | | paths. | ||||
* | | | Fix whitespace. | Brett Cannon | 2012-04-22 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #13959: Re-implement imp.find_module() in Lib/imp.py. | Brett Cannon | 2012-04-22 | 1 | -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 use | Brett Cannon | 2012-04-21 | 1 | -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 Cannon | 2012-04-21 | 2 | -3/+5 |
| | | |||||
* | | merge | Brett Cannon | 2012-04-21 | 3 | -7/+38 |
|\ \ | |||||
| * | | Remove incorrect comment | Michael Foord | 2012-04-21 | 1 | -1/+0 |
| | | | |||||
| * | | Closes issue 14634. unittest.mock.create_autospec now supports keyword only ↵ | Michael Foord | 2012-04-21 | 2 | -4/+22 |
| | | | | | | | | | | | | arguments. | ||||
| * | | Closes issue 14636. mock objects raise exceptions from an iterable side_effect | Michael Foord | 2012-04-21 | 2 | -3/+17 |
| | | | |||||
* | | | Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py. | Brett Cannon | 2012-04-21 | 2 | -2/+30 |
| | | | |||||
* | | | Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py. | Brett Cannon | 2012-04-21 | 2 | -8/+30 |
| | | | |||||
* | | | Make path manipulation more robust for platforms with alternative path | Brett Cannon | 2012-04-21 | 1 | -16/+27 |
|/ / | | | | | | | separators. | ||||
* | | Issue #13959: Keep imp.get_magic() in C code, but cache in importlib | Brett Cannon | 2012-04-20 | 2 | -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 Cannon | 2012-04-20 | 1 | -1/+1 |
| | | |||||
* | | Merge | Brett Cannon | 2012-04-20 | 1 | -0/+14 |
|\ \ | |||||
| * \ | Issue #14630: Merge fix from 3.2. | Mark Dickinson | 2012-04-20 | 1 | -0/+14 |
| |\ \ | | |/ | |||||
| | * | Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of ↵ | Mark Dickinson | 2012-04-20 | 1 | -0/+14 |
| | | | | | | | | | | | | an int subclass. | ||||
* | | | Use a skipUnless decorator instead of conditional renaming. | Brett Cannon | 2012-04-20 | 1 | -3/+1 |
|/ / | |||||
* | | Issue #14585: test_import now runs all tests under | Brett Cannon | 2012-04-20 | 2 | -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 support | Brett Cannon | 2012-04-20 | 2 | -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 Cannon | 2012-04-20 | 1 | -1/+4 |
| | | |||||
* | | Issue #14629: Mention the filename in SyntaxError exceptions from | Brett Cannon | 2012-04-20 | 2 | -3/+48 |
| | | | | | | | | tokenizer.detect_encoding() (when available). | ||||
* | | Issue #14633: Simplify imp.find_modue() test after fixes from issue | Brett Cannon | 2012-04-20 | 1 | -4/+2 |
| | | | | | | | | #14629 changed the message. | ||||
* | | Issue #14581: Windows users are allowed to import modules w/o taking | Brett Cannon | 2012-04-20 | 1 | -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 make | Brett Cannon | 2012-04-20 | 1 | -0/+1 |
| | | | | | | | | sure finders from importlib are used instead of _frozen_importlib. | ||||
* | | merge 3.2: issue 14629 | Martin v. Löwis | 2012-04-20 | 2 | -2/+15 |
|\ \ | |/ | |||||
| * | Issue #14629: Raise SyntaxError in tokenizer.detect_encoding | Martin v. Löwis | 2012-04-20 | 2 | -2/+15 |
| | | | | | | | | if the first two lines have non-UTF-8 characters without an encoding declaration. | ||||
* | | Close #14386: Register types.MappingProxyType as a Mapping | Victor Stinner | 2012-04-19 | 1 | -1/+3 |
| | | |||||
* | | Issue #14127: Add st_{cma}time_ns fields to os.stat() result object. | Larry Hastings | 2012-04-19 | 1 | -0/+7 |
| | | |||||
* | | Issue #14308: Fix an exception when a dummy thread is in the threading ↵ | Antoine Pitrou | 2012-04-19 | 2 | -0/+32 |
|\ \ | |/ | | | | | module's active list after a fork(). | ||||
| * | Issue #14308: Fix an exception when a "dummy" thread is in the threading ↵ | Antoine Pitrou | 2012-04-19 | 2 | -0/+32 |
| | | | | | | | | module's active list after a fork(). | ||||
* | | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo. | Martin v. Löwis | 2012-04-19 | 1 | -0/+23 |
| | | | | | | | | Patch by Stefan Behnel. | ||||
* | | Merge from 3.2 | Nick Coghlan | 2012-04-19 | 1 | -1/+1 |
|\ \ | |/ |