- 25 Mar, 2011 3 commits
-
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
- 24 Mar, 2011 22 commits
-
-
Eli Bendersky authored
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
R David Murray authored
Patch by Sandro Tosi.
-
R David Murray authored
Patch by Sandro Tosi. The main purpose of this option is to allow an alternate set of tests files to be used when running tests of the regrtest tool itself.
-
R David Murray authored
-
Raymond Hettinger authored
-
Kurt B. Kaiser authored
-
Raymond Hettinger authored
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
Algorithm and initial patch by Michael Henry.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Raymond Hettinger authored
Move __name__ back out of the template; the responsibility for setting __name__ lies with the caller (which knows something about the new namespace), not with the class definition (which doesn't know about the namespace it is being built in).
-
Brett Cannon authored
-
- 23 Mar, 2011 15 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.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
-
Antoine Pitrou authored
appropriate number of parallel workers.
-
Antoine Pitrou authored
parallel (thanks Michael for pointing this).
-
Raymond Hettinger authored
-