[Python-checkins] peps: PEP 509: add alternatives
victor.stinner
python-checkins at python.org
Sat Jan 9 18:30:37 EST 2016
https://hg.python.org/peps/rev/99fe19f94ee6
changeset: 6154:99fe19f94ee6
user: Victor Stinner <victor.stinner at gmail.com>
date: Sun Jan 10 00:30:32 2016 +0100
summary:
PEP 509: add alternatives
files:
pep-0509.txt | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/pep-0509.txt b/pep-0509.txt
--- a/pep-0509.txt
+++ b/pep-0509.txt
@@ -230,6 +230,23 @@
Alternatives
============
+Bikeshedding on the property name
+---------------------------------
+
+* ``__cache_token__``: name proposed by Nick Coghlan, name coming from
+ `abc.get_cache_token()
+ <https://docs.python.org/3/library/abc.html#abc.get_cache_token>`_.
+* ``__version__``
+* ``__timestamp__``
+
+
+Add a version but don't expose it at the Python level
+-----------------------------------------------------
+
+Guards can be implemented in C to access directly the ``ma_version``
+field of the ``PyDictObject`` structure.
+
+
Add a version to each dict entry
--------------------------------
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list