[Python-checkins] peps: PEP 510: rephrase the sentence about serialization

victor.stinner python-checkins at python.org
Mon Jan 11 11:49:11 EST 2016


https://hg.python.org/peps/rev/6e7b7e0bf5f4
changeset:   6163:6e7b7e0bf5f4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jan 11 17:49:07 2016 +0100
summary:
  PEP 510: rephrase the sentence about serialization

files:
  pep-0510.txt |  6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/pep-0510.txt b/pep-0510.txt
--- a/pep-0510.txt
+++ b/pep-0510.txt
@@ -257,8 +257,10 @@
 When a function code is replaced (``func.__code__ = new_code``), all
 specialized functions are removed.
 
-When a function is serialized (by ``marshal`` or ``pickle`` for
-example), specialized functions and guards are ignored (not serialized).
+When a function is serialized ``pickle``, specialized functions and
+guards are ignored (not serialized). Specialized functions and guards
+are not stored in ``.pyc`` files but created and registered at runtime,
+when a module is loaded.
 
 
 Discussion

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list