[Python-checkins] peps: PEP 510: pickle doesn't serialize code object, remove nonsense paragraph.

victor.stinner python-checkins at python.org
Thu Jan 14 03:45:46 EST 2016


https://hg.python.org/peps/rev/92324b60dbb7
changeset:   6180:92324b60dbb7
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jan 14 09:44:15 2016 +0100
summary:
  PEP 510: pickle doesn't serialize code object, remove nonsense paragraph.

files:
  pep-0510.txt |  5 -----
  1 files changed, 0 insertions(+), 5 deletions(-)


diff --git a/pep-0510.txt b/pep-0510.txt
--- a/pep-0510.txt
+++ b/pep-0510.txt
@@ -282,11 +282,6 @@
 When a function code is replaced (``func.__code__ = new_code``), all
 specialized codes and guards are removed.
 
-When a function is serialized ``pickle``, specialized codes and guards are
-ignored (not serialized). Specialized codes and guards are not stored in
-``.pyc`` files but created and registered at runtime, when a module is
-loaded.
-
 
 Function guard
 --------------

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


More information about the Python-checkins mailing list