- 05 Şub, 2019 1 kayıt (commit)
-
-
Nina Zakharenko yazdı
* bpo-35321: Set the spec origin to frozen in frozen modules This fix correctly sets the spec origin to "frozen" for the _frozen_importlib module. Note that the origin was already correctly set in _frozen_importlib_external. *
Added by blurb_it.
-
- 07 Tem, 2018 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
* Always return bytes from _HackedGetData.get_data(). Ensure the imp.load_source shim always returns bytes by reopening the file in binary mode if needed. Hash-based pycs have to receive the source code in bytes. It's tempting to change imp.get_suffixes() to always return 'rb' as a mode, but that breaks some stdlib tests and likely 3rdparty code, too.
-
- 09 Ara, 2017 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
Python now supports checking bytecode cache up-to-dateness with a hash of the source contents rather than volatile source metadata. See the PEP for details. While a fairly straightforward idea, quite a lot of code had to be modified due to the pervasiveness of pyc implementation details in the codebase. Changes in this commit include: - The core changes to importlib to understand how to read, validate, and regenerate hash-based pycs. - Support for generating hash-based pycs in py_compile and compileall. - Modifications to our siphash implementation to support passing a custom key. We then expose it to importlib through _imp. - Updates to all places in the interpreter, standard library, and tests that manually generate or parse pyc files to grok the new format. - Support in the interpreter command line code for long options like --check-hash-based-pycs. - Tests and documentation for all of the above.
-
- 05 Kas, 2017 1 kayıt (commit)
-
-
luzpaz yazdı
-
- 13 Eki, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects.
-
- 19 Eyl, 2017 1 kayıt (commit)
-
-
Oren Milman yazdı
bpo-31315: Fix an assertion failure in imp.create_dynamic(), when spec.name is not a string. (#3257)
-
- 07 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
- 28 Haz, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.
-
- 24 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 30 Eki, 2015 1 kayıt (commit)
-
-
Brett Cannon yazdı
DeprecationWarning. Thanks to Martin Panter for finding the tests.
-
- 05 Eyl, 2015 1 kayıt (commit)
-
-
Nick Coghlan yazdı
To resolve a compatibility problem found with py2exe and pywin32, imp.load_dynamic() once again ignores previously loaded modules to support Python modules replacing themselves with extension modules. Patch by Petr Viktorin.
-
- 13 Nis, 2015 1 kayıt (commit)
-
-
Brett Cannon yazdı
The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
-
- 05 Eki, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 08 Ara, 2013 1 kayıt (commit)
-
-
Zachary Ware yazdı
-
- 23 Kas, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Agu, 2013 2 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
multiple times.
-
- 19 Agu, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #7732: try to fix test_bug7732's flakiness on Windows by executing it in a fresh temporary directory.
-
- 15 Agu, 2013 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 11 Agu, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 10 Agu, 2013 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 16 Haz, 2013 1 kayıt (commit)
-
-
Brett Cannon yazdı
To make sure there is no issue with code that is both Python 2 and 3 compatible, there are no plans to remove the module any sooner than Python 4 (unless the community moves to Python 3 solidly before then).
-
- 07 Haz, 2013 1 kayıt (commit)
-
-
Brett Cannon yazdı
test_imp.
-
- 11 May, 2013 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 04 May, 2013 2 kayıt (commit)
-
-
Brett Cannon yazdı
legitimately false.
-
Brett Cannon yazdı
Windows.
-
- 03 May, 2013 4 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
trying to load an extension module. While at it, also add a proper unittest.skipIf() guard to another test involving imp.load_dynamic().
-
- 16 Mar, 2013 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 15 Ara, 2012 1 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
- 14 Ara, 2012 1 kayıt (commit)
-
-
Andrew Svetlov yazdı
Patch by Václav Šmilauer.
-
- 31 Agu, 2012 4 kayıt (commit)
-
-
Brett Cannon yazdı
return one.
-
Nick Coghlan yazdı
-
Brett Cannon yazdı
return one.
-
Nick Coghlan yazdı
-
- 09 Tem, 2012 1 kayıt (commit)
-
-
Brett Cannon yazdı
NotimplementedError when sys.implementation.cache_tag is None. Thanks to Pranav Ravichandran for taking an initial stab at the patch.
-
- 23 Haz, 2012 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 11 May, 2012 1 kayıt (commit)
-
-
Brett Cannon yazdı
importlib.abc.FileLoader.load_module()/get_filename() and importlib.machinery.ExtensionFileLoader.load_module() have their single argument be optional as the loader's constructor has all the ncessary information. This allows for the deprecation of imp.load_source()/load_compile()/load_package().
-