An error occurred fetching the project authors.
- 23 Feb, 2012 1 commit
-
-
Brett Cannon authored
-
- 22 Feb, 2012 2 commits
-
-
Brett Cannon authored
-
Charles-François Natali authored
-
- 20 Feb, 2012 5 commits
-
-
Antoine Pitrou authored
(regression)
-
Benjamin Peterson authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
Issue #14043: Speed up importlib's _FileFinder by at least 8x, and add a new importlib.invalidate_caches() function. importlib is now often faster than imp.find_module() at finding modules.
-
Brett Cannon authored
Closes issue #14054.
-
- 17 Feb, 2012 2 commits
-
-
Brett Cannon authored
Optimize importlib's case-sensitivity check by wasting as little time as possible under case-sensitive OSs.
-
Brett Cannon authored
Closes issue #13961. Thanks to Charles-François Natali for the patch.
-
- 16 Feb, 2012 3 commits
-
-
Brett Cannon authored
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.
-
Brett Cannon authored
This is to bring it more in line with what PEP 328 set out to do with removing ambiguous absolute/relative import semantics.
-
Brett Cannon authored
an __import__ implementation that takes care of basics in C and punts to importlib for more complicated code.
-
- 14 Feb, 2012 1 commit
-
-
Brett Cannon authored
-
- 10 Feb, 2012 1 commit
-
-
Philip Jenvey authored
-
- 09 Feb, 2012 1 commit
-
-
Brett Cannon authored
-
- 08 Feb, 2012 4 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
__file__ being an absolute path when the module is found in the current directory.
-
Brett Cannon authored
importlib._bootstrap._setup().
-
Brett Cannon authored
function.
-
- 27 Jan, 2012 1 commit
-
-
Brett Cannon authored
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.
-
- 25 Jan, 2012 1 commit
-
-
Brett Cannon authored
does not need to be exposed from C code for bootstrapping reasons.
-
- 16 Jan, 2012 1 commit
-
-
Brett Cannon authored
More descriptive names are now used in order to make tracebacks more readable.
-
- 13 Jan, 2012 1 commit
-
-
Antoine Pitrou authored
code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode.
-
- 15 Dec, 2011 2 commits
-
-
Meador Inge authored
-
Meador Inge authored
-
- 15 Nov, 2011 1 commit
-
-
Antoine Pitrou authored
-
- 10 Nov, 2011 1 commit
-
-
Charles-François Natali authored
-
- 31 Oct, 2011 1 commit
-
-
Charles-François Natali authored
-
- 28 Oct, 2011 1 commit
-
-
Florent Xicluna authored
-
- 19 Oct, 2011 1 commit
-
-
Antoine Pitrou authored
(as in import.c)
-
- 17 Oct, 2011 1 commit
-
-
Antoine Pitrou authored
-
- 23 Mar, 2011 2 commits
-
-
Brett Cannon authored
paths. __import__ does a little trick when importing from bytecode by back-patching the co_filename paths to point to the file location where the code object was loaded from, *not* where the code object was originally created. This allows co_filename to point to a valid path. Problem is that co_filename is immutable from Python, so a private function -- imp._fix_co_filename() -- had to be introduced in order to get things working properly. Originally the plan was to add a file argument to marshal.loads(), but that failed as the algorithm used by __import__ is not fully recursive as one might expect, so to be fully backwards-compatible the code used by __import__ needed to be exposed. This closes issue #6811 by taking a different approach than outlined in the issue.
-
Brett Cannon authored
This makes it obvious that an import failed because of some extraneous whitespace (e.g., a newline). This is a partial fix for issue #8754.
-
- 15 Mar, 2011 1 commit
-
-
Ezio Melotti authored
-
- 14 Mar, 2011 2 commits
-
-
Eric V. Smith authored
-
Eric V. Smith authored
-
- 13 Jan, 2011 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 18 Nov, 2010 1 commit
-
-
Brett Cannon authored
message in importlib. Thanks to Éric Araujo for spotting the inconsistency.
-