- 22 Apr, 2012 9 commits
-
-
Brett Cannon authored
which is different than what imp.cache_from_source() operates on.
-
Brett Cannon authored
-
Brett Cannon authored
variable name.
-
Brett Cannon authored
-
Brett Cannon authored
paths.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Brett Cannon authored
-
Brett Cannon authored
Thanks to Eric Snow for taking an initial stab at the implementation.
-
- 21 Apr, 2012 9 commits
-
-
Brett Cannon authored
the UNC path. Also clean up sys.path and invalidate finder caches. Thanks to Vinay Sajip for spotting the use of the wrong path.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Michael Foord authored
-
Michael Foord authored
-
Michael Foord authored
-
Brett Cannon authored
-
Brett Cannon authored
separators.
-
- 20 Apr, 2012 21 commits
-
-
Brett Cannon authored
for performance. While get_magic() could move to Lib/imp.py, having to support PyImport_GetMagicNumber() would lead to equal, if not more, C code than sticking with the status quo.
-
Brett Cannon authored
-
Brett Cannon authored
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Brett Cannon authored
-
Mark Dickinson authored
Issue #14339: Improve speed of bin, oct and hex builtins. Patch by Serhiy Storchaka (with minor modifications).
-
Brett Cannon authored
as found in sys.modules and not as what the loader returns (even though it is required to by PEP 302).
-
Brett Cannon authored
importlib.test.import_ using builtins.__import__() instead of just the relative import tests.
-
Brett Cannon authored
extension modules.
-
Brett Cannon authored
-
Brett Cannon authored
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.
-
Stefan Krah authored
this is more readable.
-
Stefan Krah authored
1) Rename _mpd_qbarrett_divmod into _mpd_base_ndivmod: The function is only marginally related to either Barrett's algorithm or to the version in Hasselstrom's paper. 2) In places where the proof assumes exact operations, use new versions of add/sub/multiply that set NaN/Invalid_operation if this condition is not met. According to the proof this cannot happen, so this should be regarded as an extra safety net. 3) Raise Division_impossible for operands with a number of digits greater than MPD_MAX_PREC. This facilitates the audit of the function and can practically only occur in the 32-bit version under conditions where a MemoryError is already imminent. 4) Use _mpd_qmul() in places where the result can exceed MPD_MAX_PREC in a well defined manner. 5) Test for mpd_isspecial(qq) in a place where the addition of one can theoretically trigger a Malloc_error. 6) Remove redundant code in _mpd_qdivmod(). 7) Add many comments.
-
Brett Cannon authored
-
Brett Cannon authored
tokenizer.detect_encoding() (when available).
-
Brett Cannon authored
#14629 changed the message.
-
Brett Cannon authored
the file suffix's case into account, even when doing a case-sensitive import.
-
Brett Cannon authored
sure finders from importlib are used instead of _frozen_importlib.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
if the first two lines have non-UTF-8 characters without an encoding declaration.
-
- 19 Apr, 2012 1 commit
-
-
Victor Stinner authored
-