Revision 767
Jump to revision: |
|
Author: |
pje |
Date: |
Sat Nov 30 20:04:51 2002 UTC (21 years, 4 months ago) |
Log Message:
Completed conversion to C of the base class descriptor methods for 'Once'
attributes. Due to constraints in how Pyrex creates extension types, it
was not possible to continue support for the (deprecated anyway) 'OnceClass'
and 'AutoCreatable' metaclasses. This is now cleaned up pretty decently
and runs the tests at least as fast as before I began the metadata
refactoring yesterday (~4.1 seconds on my Windows PC).
Note that if you want to build from Pyrex source or have Pyrex installed,
you *must* patch Pyrex.Compiler.TypeSlots so that these two lines:
descrgetfunc = Signature("TOO", "O") # typedef ...
descrsetfunc = Signature("TOO", "O") # typedef ...
Look like *this* instead:
descrgetfunc = Signature("Tpp", "O") # typedef ...
descrsetfunc = Signature("TOp", "i") # typedef ...
This is a work-around for improper generation of descriptor __get__/__set__
code by Pyrex.
Changed paths: