summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-07-02 18:35:34 (GMT)
committerBrett Cannon <brett@python.org>2012-07-02 18:35:34 (GMT)
commit1e331560eea62c78ec189f2b72b59864ee315ddc (patch)
tree1d87381377f9e8d61439dacc74d56d516344df1c /Doc
parentd57caf36bd4f261b5d1e7ba758001fe5b6416daf (diff)
downloadcpython-1e331560eea62c78ec189f2b72b59864ee315ddc.zip
cpython-1e331560eea62c78ec189f2b72b59864ee315ddc.tar.gz
cpython-1e331560eea62c78ec189f2b72b59864ee315ddc.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/importlib.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 4dc1c78..cea2da0 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -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