[Python-Dev] Skiping searching throw dictionaries of mro() members.
Phillip J. Eby
pje at telecommunity.com
Wed Sep 14 19:49:42 CEST 2005
More information about the Python-Dev mailing list
Wed Sep 14 19:49:42 CEST 2005
- Previous message: [Python-Dev] Skiping searching throw dictionaries of mro() members.
- Next message: [Python-Dev] Skiping searching throw dictionaries of mro() members.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 09:12 PM 9/14/2005 +0400, Sokolov Yura wrote: >We could cash looks by this way: >Store with a class its version. Every time after creation when we change >a class >(add,remove or chage class member, including __base__, __bases__ and mro) , >we increase the version number. Lets call it VERSION FYI, there is already a mechanism for new-style classes that notifies subclasses of changes to the base class; this mechanism could be used to push cache flushes downward, rather than doing version checking upward.
- Previous message: [Python-Dev] Skiping searching throw dictionaries of mro() members.
- Next message: [Python-Dev] Skiping searching throw dictionaries of mro() members.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list