Commit Graph

6 Commits

Author SHA1 Message Date
Ronald Oussoren ccc67db90d PEP 447 updates
* Title better reflects what's proposed

* Try to clarify the proposal (by changing the text and adding examples)

* Add background information on why I'm working on this proposal

* Slight semantic change: "type" does not provide a __locallookup__
  method. This was done to ensure that the type attribute cache
  can be kept.
2013-07-17 16:57:39 +02:00
Guido van Rossum da726ba476 Fix minor grammatical/typographical issues. 2013-07-15 09:37:26 -07:00
Ronald Oussoren fb086746da There is implementation of the super() changes in this PEP. 2013-07-15 17:12:32 +02:00
Ronald Oussoren bfec474381 Document a possible attribute cache issue with the proposed changes to PyObject_GenericGetAttr 2013-07-15 17:10:15 +02:00
Ronald Oussoren 95e6879313 Rewrite PEP 447 with a cleaner interface
This replaces a special method that was tuned for use by super()
by one that is also usable for PyObject_GenericGetAttr, and has
a cleaner interface (a method on the meta type instead of static method
on the type that didn't really know what it wanted to be).

Next up: provide prototype implementation, then post to python-dev again.
2013-07-15 11:23:29 +02:00
Ronald Oussoren e1f31edcf2 Version of my super getattr hook proposal as posted to python-dev.
This will likely see significant changes based on feedback from Steve Dower.
2013-07-15 10:04:57 +02:00