Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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. | |||||
| * | 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. | |||||
* | | Issue #13645: pyc files now contain the size of the corresponding source | Antoine Pitrou | 2012-01-13 | 1 | -1/+11 | |
| | | | | | | | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode. | |||||
* | | Issue #13645: fix test_import failure when run immediately after test_coding. | Antoine Pitrou | 2011-12-21 | 1 | -1/+2 | |
|\ \ | |/ | ||||||
| * | Issue #13645: fix test_import failure when run immediately after test_coding. | Antoine Pitrou | 2011-12-21 | 1 | -1/+2 | |
| | | ||||||
* | | Issue #13303: Fix bytecode file default permission. | Charles-François Natali | 2011-11-10 | 1 | -10/+7 | |
| | | ||||||
* | | Back out changeset b6336ba796d4 until fix for #13303. | Charles-François Natali | 2011-11-08 | 1 | -3/+4 | |
| | | ||||||
* | | test_import: test_execute_bit_not_copied() was actually a no-op: enable it. | Charles-François Natali | 2011-11-08 | 1 | -4/+3 | |
|\ \ | |/ | ||||||
| * | test_import: test_execute_bit_not_copied() was actually a no-op: fix it. | Charles-François Natali | 2011-11-08 | 1 | -4/+3 | |
| | | ||||||
* | | os.geteuid() may not be available... | Charles-François Natali | 2011-10-04 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | os.geteuid() may not be available... | Charles-François Natali | 2011-10-04 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #11956: Always skip test_import.test_unwritable_directory when run as | Charles-François Natali | 2011-10-04 | 1 | -2/+2 | |
|\ \ | |/ | | | | | root, since the semantics varies across Unix variants. | |||||
| * | Issue #11956: Always skip test_import.test_unwritable_directory when run as | Charles-François Natali | 2011-10-04 | 1 | -2/+2 | |
| | | | | | | | | root, since the semantics varies across Unix variants. | |||||
* | | Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run as | Charles-François Natali | 2011-10-04 | 1 | -0/+3 | |
|\ \ | |/ | | | | | root (directory permissions are ignored). | |||||
| * | Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run as | Charles-François Natali | 2011-10-04 | 1 | -0/+3 | |
| | | | | | | | | root (directory permissions are ignored). | |||||
* | | Merge 3.2: Issue #7732: Don't open a directory as a file anymore while | Victor Stinner | 2011-09-23 | 1 | -0/+9 | |
|\ \ | |/ | | | | | | | importing a module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead. | |||||
| * | Issue #7732: Don't open a directory as a file anymore while importing a | Victor Stinner | 2011-09-23 | 1 | -0/+9 | |
| | | | | | | | | | | module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead. | |||||
* | | Issue #12451: Add support.create_empty_file() | Victor Stinner | 2011-06-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle). | |||||
* | | Try to make test_import a bit more robust | Antoine Pitrou | 2011-03-21 | 1 | -0/+3 | |
|\ \ | |/ | ||||||
| * | Try to make test_import a bit more robust | Antoine Pitrou | 2011-03-21 | 1 | -0/+3 | |
| | | ||||||
* | | Remove an overly specific exception message test. | Brett Cannon | 2011-03-17 | 1 | -2/+0 | |
|/ | ||||||
* | #4236: avoid possible Fatal Error when import is called from __del__ | R. David Murray | 2010-12-14 | 1 | -0/+13 | |
| | | | | Patch by Simon Cross, crasher test code by Martin von Löwis. | |||||
* | close open file from find_module() | Benjamin Peterson | 2010-10-30 | 1 | -0/+1 | |
| | ||||||
* | condense | Benjamin Peterson | 2010-10-30 | 1 | -5/+1 | |
| | ||||||
* | kill pointless function imports | Benjamin Peterson | 2010-10-30 | 1 | -1/+0 | |
| | ||||||
* | remove useless assignment | Benjamin Peterson | 2010-10-30 | 1 | -1/+1 | |
| | ||||||
* | Better check for "any optimize option given". | Georg Brandl | 2010-10-14 | 1 | -1/+1 | |
| | ||||||
* | #9964: fix running test_import under -O or -OO. | Georg Brandl | 2010-10-14 | 1 | -1/+2 | |
| | ||||||
* | I get it wrong in r84097: s/relative/absolute/ | Florent Xicluna | 2010-08-16 | 1 | -1/+2 | |
| |