Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes issue 14636. mock objects raise exceptions from an iterable side_effect | Michael Foord | 2012-04-21 | 2 | -3/+17 |
| | |||||
* | 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 |
|\ \ | |/ | |||||
| * | Close #14032: fix incorrect variable reference in test_cmd_line_script | Nick Coghlan | 2012-04-19 | 1 | -1/+1 |
| | | |||||
* | | #14538: merge with 3.2. | Ezio Melotti | 2012-04-19 | 2 | -3/+13 |
|\ \ | |/ | |||||
| * | #14538: HTMLParser can now parse correctly start tags that contain a bare /. | Ezio Melotti | 2012-04-19 | 2 | -3/+13 |
| | | |||||
* | | Issue #14385: Support other types than dict for __builtins__ | Victor Stinner | 2012-04-18 | 1 | -0/+33 |
| | | | | | | | | | | | | It is now possible to use a custom type for the __builtins__ namespace, instead of a dict. It can be used for sandboxing for example. Raise also a NameError instead of ImportError if __build_class__ name if not found in __builtins__. | ||||
* | | don't bother keeping a set we'll never use | Benjamin Peterson | 2012-04-18 | 1 | -1/+2 |
| | | |||||
* | | Issue #11750: The Windows API functions scattered in the _subprocess and | Antoine Pitrou | 2012-04-18 | 6 | -122/+153 |
| | | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt. | ||||
* | | merge 3.2 (#14612) | Benjamin Peterson | 2012-04-18 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ↵ | Benjamin Peterson | 2012-04-18 | 1 | -0/+11 |
| | | | | | | | | (closes #14612) | ||||
* | | rollback 005fd1fe31ab (see #14609 and #14582) | Benjamin Peterson | 2012-04-18 | 2 | -14/+34 |
| | | | | | | | | | | Being able to overload a sys.module entry during import of a module was broken by this changeset. | ||||
* | | Merge | Brett Cannon | 2012-04-18 | 1 | -0/+6 |
|\ \ | |||||
| * \ | merge 3.2 (#14607) | Benjamin Peterson | 2012-04-17 | 1 | -0/+6 |
| |\ \ | | |/ | |||||
| | * | mangle keyword-only argname when loading defaults (closes #14607) | Benjamin Peterson | 2012-04-17 | 1 | -0/+6 |
| | | | |||||
* | | | Issue #12599: Be more strict in accepting None vs. a false-like object | Brett Cannon | 2012-04-18 | 3 | -4/+27 |
|/ / | | | | | | | | | | | | | in importlib. Thanks to PJE for pointing out the issue and Nick Coghlan for filing the bug. | ||||
* | | Issue #13959: Re-implement imp.load_compiled() in imp.py. | Brett Cannon | 2012-04-17 | 1 | -5/+20 |
| | | |||||
* | | Issue #14592: A relative import will raise a KeyError if __package__ | Brett Cannon | 2012-04-17 | 1 | -0/+5 |
| | | | | | | | | | | | | or __name__ are not set in globals. Thanks to Stefan Behnel for the bug report. | ||||
* | | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can | Charles-François Natali | 2012-04-17 | 1 | -2/+9 |
|\ \ | |/ | | | | | chown() to root under certain circumstances. | ||||
| * | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can | Charles-François Natali | 2012-04-17 | 1 | -2/+9 |
| | | | | | | | | chown() to root under certain circumstances. | ||||
* | | Issue #14087: multiprocessing: add Condition.wait_for(). Patch by sbt. | Charles-François Natali | 2012-04-17 | 3 | -0/+105 |
| | | |||||
* | | #14603: use a listcomp in ZipFile.namelist. | Ezio Melotti | 2012-04-17 | 1 | -4/+1 |
| | | |||||
* | | Properly guard against special-casing. | Brett Cannon | 2012-04-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #13959: Re-implement imp.load_source() in imp.py. | Brett Cannon | 2012-04-17 | 1 | -1/+28 |
| | | |||||
* | | Issue #14599: Fix an import caching race condition. | Brett Cannon | 2012-04-17 | 1 | -0/+1 |
| | | |||||
* | | Issue #14599: Make test_reprlib robust against import cache race | Brett Cannon | 2012-04-17 | 1 | -0/+7 |
| | | | | | | | | conditions when regrtest is run with its -j option. | ||||
* | | Issue #13959: Fix a logic bug. | Brett Cannon | 2012-04-17 | 1 | -1/+1 |
| | | |||||
* | | pep8-ize test names | Antoine Pitrou | 2012-04-16 | 1 | -3/+3 |
| | | |||||
* | | Fix refleak in test_gc | Antoine Pitrou | 2012-04-16 | 1 | -1/+2 |
| | | |||||
* | | Closes #14452: brought tests in line with removal of BOM insertion code. | Vinay Sajip | 2012-04-16 | 1 | -3/+3 |
| | | |||||
* | | Closes #14452: remove BOM insertion code. | Vinay Sajip | 2012-04-16 | 1 | -1/+1 |
|\ \ | |/ |