mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Closes #15030: Make importlib.abc.PyPycLoader respect the new .pyc
file size header field. Thanks to Marc Abramowitz and Ronan Lamy for helping out with various parts of the patch.
This commit is contained in:
parent
d57caf36bd
commit
1e331560ee
5 changed files with 21 additions and 3 deletions
|
@ -455,6 +455,10 @@ are also provided to help in implementing the core ABCs.
|
|||
:class:`PyLoader`. Do note that this solution will not support
|
||||
sourceless/bytecode-only loading; only source *and* bytecode loading.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Updated to parse (but not use) the new source size field in bytecode
|
||||
files when reading and to write out the field properly when writing.
|
||||
|
||||
.. method:: source_mtime(fullname)
|
||||
|
||||
An abstract method which returns the modification time for the source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue