Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Issue #14077: importlib: Fix regression introduced by de6703671386. | Charles-François Natali | 2012-02-22 | 1 | -3/+6 | |
| | ||||||
* | Issue #14063: fix test_importlib failure under OS X case-insensitive filesystems | Antoine Pitrou | 2012-02-20 | 1 | -11/+15 | |
| | | | | (regression) | |||||
* | put docstrings on functions | Benjamin Peterson | 2012-02-20 | 1 | -2/+2 | |
| | ||||||
* | _relax_case -> _make_relax_case | Antoine Pitrou | 2012-02-20 | 1 | -3/+4 | |
| | ||||||
* | Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new ↵ | Antoine Pitrou | 2012-02-20 | 3 | -50/+69 | |
| | | | | | | importlib.invalidate_caches() function. importlib is now often faster than imp.find_module() at finding modules. | |||||
* | Fix a failing importlib test under Windows. | Brett Cannon | 2012-02-20 | 1 | -1/+2 | |
| | | | | Closes issue #14054. | |||||
* | Fix importlib.test.__main__ to only worry about command-line flags when ↵ | Brett Cannon | 2012-02-17 | 1 | -8/+9 | |
| | | | | directly executed. | |||||
* | Optimize importlib's case-sensitivity check by wasting as little time as ↵ | Brett Cannon | 2012-02-17 | 1 | -13/+23 | |
| | | | | possible under case-sensitive OSs. | |||||
* | Have importlib.test use argparse instead of some hacked up solution. | Brett Cannon | 2012-02-17 | 1 | -3/+8 | |
| | ||||||
* | Have importlib use os.replace() for atomic renaming. | Brett Cannon | 2012-02-17 | 1 | -17/+6 | |
| | | | | Closes issue #13961. Thanks to Charles-François Natali for the patch. | |||||
* | Tweak the handling of the empty string in sys.path for importlib. | Brett Cannon | 2012-02-16 | 2 | -2/+4 | |
| | | | | | | | It seems better to cache the finder for the cwd under its full path insetad of '' in case the cwd changes. Otherwise FileFinder needs to dynamically change itself based on whether it is given '' instead of caching a finder for every change to the cwd. | |||||
* | importlib.__import__() now raises ValueError when level < 0. | Brett Cannon | 2012-02-16 | 2 | -0/+9 | |
| | | | | | This is to bring it more in line with what PEP 328 set out to do with removing ambiguous absolute/relative import semantics. | |||||
* | Refactor importlib.__import__() and _gcd_import() to facilitate using | Brett Cannon | 2012-02-16 | 1 | -71/+130 | |
| | | | | | an __import__ implementation that takes care of basics in C and punts to importlib for more complicated code. | |||||
* | Bring importlib in line w/ changes made in my personal bootstrap branch in ↵ | Brett Cannon | 2012-02-14 | 1 | -1/+15 | |
| | | | | the sandbox. | |||||
* | simplify | Philip Jenvey | 2012-02-10 | 1 | -4/+1 | |
| | ||||||
* | Undo a bad mq management thingy. | Brett Cannon | 2012-02-09 | 1 | -44/+0 | |
| | ||||||
* | Whitespace normalization. | Brett Cannon | 2012-02-08 | 1 | -1/+0 | |
| | ||||||
* | Use the cwd when the empty string is found in sys.path. This leads to | Brett Cannon | 2012-02-08 | 2 | -1/+55 | |
| | | | | | __file__ being an absolute path when the module is found in the current directory. | |||||
* | Move setup code from importlib.__init__ to | Brett Cannon | 2012-02-08 | 2 | -27/+47 | |
| | | | | importlib._bootstrap._setup(). | |||||
* | Don't fail in the face of a lacking attribute when wrapping a | Brett Cannon | 2012-02-08 | 1 | -1/+2 | |
| | | | | function. | |||||
* | Re-order importlib benchmarks to be consistent. Also print out what ↵ | Brett Cannon | 2012-02-07 | 1 | -6/+8 | |
| | | | | implementation of __import__ is used. | |||||
* | Have importlib.test.benchmark test with tabnanny as a medium-sized test. | Brett Cannon | 2012-02-07 | 1 | -32/+58 | |
| | ||||||
* | Fix a minor output typo as found by Terry Reedy. | Brett Cannon | 2012-01-31 | 1 | -1/+1 | |
| | ||||||
* | Let importlib.test.benchmark take a specific benchmark name to run. | Brett Cannon | 2012-01-31 | 1 | -3/+18 | |
| | ||||||
* | Allow for the specification of a file to dump importlib benchmark | Brett Cannon | 2012-01-31 | 1 | -10/+36 | |
| | | | | | | results to (and to compare against previous runs). * * * Move importlib.test.benchmark to argparse. | |||||
* | Issue #13890: Also fix for extension module tests for case-insensitivity. | Brett Cannon | 2012-01-30 | 1 | -0/+6 | |
| | ||||||
* | Issue #13890: Fix importlib case-sensitivity tests to not run on Windows. | Brett Cannon | 2012-01-30 | 1 | -0/+6 | |
| | | | | | | | Thanks to os.environ under Windows only updating the dict and not the environment itself (as exposed by nt.environ), tests using PYTHONCASEOK always fail. Now the tests are skipped when os.environ does not do what is expected. | |||||
* | Relocate importlib._case_ok to importlib._bootstrap. | Brett Cannon | 2012-01-27 | 2 | -19/+27 | |
| | | | | | | | This required updating the code to use posix instead of os. This is all being done to make bootstrapping easier to removing dependencies that are kept in importlib.__init__ and thus outside of the single file to bootstrap from. | |||||
* | Move some code from importlib.__init__ to importlib._bootstrap that | Brett Cannon | 2012-01-25 | 4 | -42/+52 | |
| | | | | does not need to be exposed from C code for bootstrapping reasons. | |||||
* | 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 | -1/+9 | |
|\ \ | |/ | ||||||
| * | Port remaining test fixes, and fix test_importlib too. | Antoine Pitrou | 2012-01-25 | 1 | -1/+9 | |
| | | ||||||
* | | Issue #11235: Fix OverflowError when trying to import a source file whose ↵ | Antoine Pitrou | 2012-01-24 | 1 | -0/+17 | |
|\ \ | |/ | | | | | 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/+17 | |
| | | | | | | | | modification time doesn't fit in a 32-bit timestamp. | |||||
* | | Issue #13588: Rename decorators in importlib. | Brett Cannon | 2012-01-16 | 1 | -18/+18 | |
| | | | | | | | | | | More descriptive names are now used in order to make tracebacks more readable. | |||||
* | | kill useless import added by 87331661042b | Benjamin Peterson | 2012-01-16 | 1 | -1/+0 | |
| | | ||||||
* | | Issue #13645: pyc files now contain the size of the corresponding source | Antoine Pitrou | 2012-01-13 | 4 | -31/+95 | |
| | | | | | | | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode. | |||||
* | | Fix no-op tests in importlib. | Antoine Pitrou | 2011-12-30 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | Fix no-op tests in importlib. | Antoine Pitrou | 2011-12-30 | 1 | -0/+4 | |
| | | ||||||
* | | Issue #13593: updating the importlib utility decorators for __qualname__. | Meador Inge | 2011-12-15 | 2 | -1/+11 | |
| | | ||||||
* | | Issue #13591: import_module potentially imports a module twice. | Meador Inge | 2011-12-15 | 3 | -2/+26 | |
|\ \ | |/ | ||||||
| * | Issue #13591: import_module potentially imports a module twice. | Meador Inge | 2011-12-15 | 3 | -2/+26 | |
| | | ||||||
* | | Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's ↵ | Florent Xicluna | 2011-12-10 | 2 | -4/+4 | |
| | | | | | | | | DeprecationWarning (cgi, importlib, nntplib, smtpd). | |||||
* | | Issue #13392: Writing a pyc file should now be atomic under Windows as well. | Antoine Pitrou | 2011-11-15 | 1 | -15/+20 | |
| | | ||||||
* | | Issue #13303: Fix bytecode file default permission. | Charles-François Natali | 2011-11-10 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #13303: Fix a race condition in the bytecode file creation. | Charles-François Natali | 2011-10-31 | 1 | -3/+4 | |
| | | ||||||
* | | Simplify and remove few dependencies on 'errno', thanks to PEP 3151. | Florent Xicluna | 2011-10-28 | 2 | -13/+6 | |
| | | ||||||
* | | Silence the FileExistsError which can be raised because of the O_EXCL flag | Antoine Pitrou | 2011-10-19 | 1 | -7/+7 | |
| | | | | | | | | (as in import.c) | |||||
* | | Issue #13146: Writing a pyc file is now atomic under POSIX. | Antoine Pitrou | 2011-10-17 | 1 | -3/+23 | |
| | |