Commit Graph

16 Commits

Author SHA1 Message Date
Serhiy Storchaka cc1c734886 Issue #26921: Fixed a/an articles. 2016-05-03 13:52:22 +03:00
Ronald Oussoren 3a6f06fe6e Furhter updates 2015-07-25 13:17:34 +02:00
Ronald Oussoren 60af329461 Source layout tweaks and minor clarifications 2015-07-22 09:14:17 +02:00
Ronald Oussoren 854b477894 PEP-0447: Start documenting the impact on introspection 2014-07-27 11:44:17 +02:00
Ronald Oussoren be2e5ec687 PEP 447: update the name of the proposed method and add pseudo-code explaining the current attribute lookup algorithm. 2014-07-25 15:57:34 +02:00
Barry Warsaw a4ec9acf45 Spell check and wrap. 2013-10-18 13:24:59 -04:00
Ronald Oussoren c3e6947b82 PEP 447: Slight rewording of the text
* Adds a clearer description of what would change to the abstract

* Small wording tweaks in other parts

* Reflow the document, lines with normal text are now shorter than
  80 characters (the output from pybench and the links section still
  contain longer lines)

* Don't use TAB characters for indentation.
2013-08-22 12:49:43 +02:00
Ronald Oussoren f639cefaf2 fix markup problem 2013-07-29 18:49:53 +02:00
Ronald Oussoren d70e4fd727 Include results for a 2n3 run of the benchmark suite. 2013-07-29 16:36:47 +02:00
Ronald Oussoren b47370af48 Updated the PEP 447 text
* __locallookup__ is now required for all metatypes and is therefore
  defined on type.

  The method was optional to make it easier to
  detect if the attribute lookup cache can be used, but
  the same idea can be used when "type" implements tp_locallookup.

* Added benchmarking results with PyBench.
2013-07-29 14:42:49 +02:00
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