Guido van Rossum  committed 1cb908a

News for the tp_flags change.

  • Participants
  • Parent commits 040d958
  • Branches legacy-trunk

Comments (0)

Files changed (1)

 Core and Builtins
+- Issue #1878: Remove Py_TPFLAGS_HAVE_VERSION_TAG from
+  Py_TPFLAGS_DEFAULT when not building the core.  This means 3rd party
+  extensions do not automatically benefit from the class attribute
+  cache; they will have to explicitly add Py_TPFLAGS_HAVE_VERSION_TAG
+  to their tp_flags field if they care.  This is a backwards
+  compatibility feature; in 3.0, all types will use the cache by
+  default.
 - Keyword arguments can now follow starred arguments. (``f(a, *args,
   keyword=23)`` is now valid syntax.)