Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #11420: merge with 3.2. | Ezio Melotti | 2013-03-16 | 1 | -0/+13 |
|\ | |||||
| * | #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵ | Ezio Melotti | 2013-03-16 | 1 | -0/+13 |
| | | | | | | | | by Thomas Wouters. | ||||
| * | Fix broken test and replace redundant generator with a tuple | Nick Coghlan | 2012-10-19 | 1 | -9/+13 |
| | | |||||
| * | Issue #6074: Actually delete the source file in the test as intended | Nick Coghlan | 2012-10-19 | 1 | -1/+1 |
| | | |||||
| * | Issue #6074: Forward port Windows read-only source file fix from 2.7 | Nick Coghlan | 2012-10-19 | 1 | -5/+51 |
| | | |||||
* | | Remove unused import | Nick Coghlan | 2012-10-19 | 1 | -1/+0 |
| | | |||||
* | | Issue #6074: Apply an appropriate fix for importlib based imports | Nick Coghlan | 2012-10-19 | 1 | -49/+107 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-09-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | use modern conditional syntax | Benjamin Peterson | 2012-09-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #15828: Restore support for C extension modules in imp.load_module() | Nick Coghlan | 2012-08-31 | 1 | -19/+0 |
| | | |||||
* | | Close #2501: Permission bits are once again correctly copied from the source ↵ | Nick Coghlan | 2012-08-24 | 1 | -1/+24 |
| | | | | | | | | file to the cached bytecode file. Test by Eric Snow. | ||||
* | | Issue #15715: Ignore failed imports triggered by the use of fromlist. | Brett Cannon | 2012-08-17 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | When the fromlist argument is specified for __import__() and the attribute doesn't already exist, an import is attempted. If that fails (e.g. module doesn't exist), the ImportError will now be silenced (for backwards-compatibility). This *does not* affect ``from ... import ...`` statements. Thanks to Eric Snow for the patch and Simon Feltman for reporting the regression. | ||||
* | | Issue #15425: Don't rely on the assumption that the current working ↵ | Nick Coghlan | 2012-07-31 | 1 | -7/+5 |
| | | | | | | | | directory is on sys.path (this will hopefully appease the XP buildbots) | ||||
* | | Close #15486: Simplify the mechanism used to remove importlib frames from ↵ | Nick Coghlan | 2012-07-31 | 1 | -2/+4 |
| | | | | | | | | tracebacks when they just introduce irrelevant noise | ||||
* | | Close #15425: Eliminate more importlib related traceback noise | Nick Coghlan | 2012-07-29 | 1 | -0/+68 |
| | | |||||
* | | Restored test by specifying that the symlink links to a target (currently ↵ | Jason R. Coombs | 2012-07-26 | 1 | -3/+2 |
| | | | | | | | | required for Windows symlinks). See issue15093 for details. | ||||
* | | Fix an import from the importlib.test move. | Brett Cannon | 2012-07-20 | 1 | -1/+1 |
| | | |||||
* | | Issue #15091: Call importlib.invalidate_caches() and reactivate a test | Brett Cannon | 2012-07-20 | 1 | -27/+15 |
| | | | | | | | | of importing a symlinked package. | ||||
* | | Running the importlib tests from test_import is redundant as there is | Brett Cannon | 2012-07-20 | 1 | -13/+6 |
| | | | | | | | | no difference anymore between __import__ and importlib.__import__. | ||||
* | | Close #15386: There was a loophole that meant importlib.machinery and imp ↵ | Nick Coghlan | 2012-07-20 | 1 | -1/+11 |
| | | | | | | | | would sometimes reference an uninitialised copy of importlib._bootstrap | ||||
* | | Issue #15338: skip test_UNC_path when the current user doesn't have enough ↵ | Antoine Pitrou | 2012-07-13 | 1 | -11/+14 |
|\ \ | |/ | | | | | permissions to access the path. | ||||
| * | Issue #15338: skip test_UNC_path when the current user doesn't have enough ↵ | Antoine Pitrou | 2012-07-13 | 1 | -0/+7 |
| | | | | | | | | permissions to access the path. | ||||
* | | For diagnosis, try to list the directory first | Antoine Pitrou | 2012-07-12 | 1 | -0/+1 |
| | | |||||
* | | Small improvements to test_unc_path | Antoine Pitrou | 2012-07-12 | 1 | -7/+8 |
| | | |||||
* | | Try to fix or diagnose buildbot failures | Antoine Pitrou | 2012-07-12 | 1 | -1/+6 |
| | | |||||
* | | Fix test failure under Windows | Antoine Pitrou | 2012-07-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #15110: Fix the tracebacks generated by "import xxx" to not show the ↵ | Antoine Pitrou | 2012-07-08 | 1 | -0/+93 |
| | | | | | | | | importlib stack frames. | ||||
* | | Properly cleanup pep3147 modules in test_import | Antoine Pitrou | 2012-06-23 | 1 | -4/+4 |
| | | |||||
* | | Prefer assertEqual to simply assert per recommendation in issue6727. | Jason R. Coombs | 2012-06-20 | 1 | -3/+8 |
| | | | | | | | | Clarified comment on disabled code to reference issue15093. | ||||
* | | Issue #14657: The frozen instance of importlib used for bootstrap is now ↵ | Antoine Pitrou | 2012-06-17 | 1 | -1/+19 |
| | | | | | | | | also the module imported as importlib._bootstrap. | ||||
* | | Disable test on Unix. Causes buildbots to fail. See Issue #15091 | Jason R. Coombs | 2012-06-17 | 1 | -0/+4 |
| | | |||||
* | | Adding test from issue6727 demonstrating that symlink import issue does not ↵ | Jason R. Coombs | 2012-06-17 | 1 | -0/+53 |
| | | | | | | | | occur here in 3.3 | ||||
* | | issue 14660: Implement PEP 420, namespace packages. | Eric V. Smith | 2012-05-25 | 1 | -6/+0 |
| | | |||||
* | | 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. | ||||
* | | Fix a cleanup. | Brett Cannon | 2012-04-20 | 1 | -1/+1 |
| | | |||||
* | | 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 | 1 | -15/+10 |
| | | | | | | | | | | 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 | 1 | -22/+0 |
| | | | | | | | | | | | | | | 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 #14599: Fix an import caching race condition. | Brett Cannon | 2012-04-17 | 1 | -0/+1 |
| | | |||||
* | | Fix #10854. Make use of the new path and name attributes on ImportError | Brian Curtin | 2012-04-16 | 1 | -0/+18 |
| | | | | | | | | for extension modules on Windows. | ||||
* | | Try to fix a sporadic test failure from what is probably a caching race ↵ | Brett Cannon | 2012-04-14 | 1 | -0/+1 |
| | | | | | | | | condition. | ||||
* | | Issue #2377: Make importlib the implementation of __import__(). | Brett Cannon | 2012-04-14 | 1 | -1/+6 |
| | | | | | | | | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__(). | ||||
* | | Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new ↵ | Antoine Pitrou | 2012-02-20 | 1 | -0/+8 |
| | | | | | | | | | | | | importlib.invalidate_caches() function. importlib is now often faster than imp.find_module() at finding modules. | ||||
* | | Port import fixes from 2.7. | Antoine Pitrou | 2012-01-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Port import fixes from 2.7. | Antoine Pitrou | 2012-01-25 | 1 | -1/+1 |
| | | |||||
* | | Port remaining test fixes, and fix test_importlib too. | Antoine Pitrou | 2012-01-25 | 1 | -8/+21 |
|\ \ | |/ | |||||
| * | Port remaining test fixes, and fix test_importlib too. | Antoine Pitrou | 2012-01-25 | 1 | -0/+5 |
| | | |||||
| * | Make test work under 32-bit systems, and when invoked through ↵ | Antoine Pitrou | 2012-01-25 | 1 | -8/+16 |
| | | | | | | | | | | | | Lib/test/regrtest.py (rather than `-m test.regrtest`) | ||||
* | | Issue #11235: Fix OverflowError when trying to import a source file whose ↵ | Antoine Pitrou | 2012-01-24 | 1 | -0/+12 |
|\ \ | |/ | | | | | modification time doesn't fit in a 32-bit timestamp. |