[Cython] PEP 3135 -- New Super

Vitja Makarov vitja.makarov at gmail.com
Tue Jul 5 08:21:39 CEST 2011


I was thinking about implementing new super() with no arguments.

The problem is where to store __class__, I see two options here:

1. Add func_class member to CyFunction, this way __class__ will be
private and not visible for inner functions:
2. Put it into closure

Actually, I like the first one.
And I don't think that __class__ should be use somewhere outside super()

-- 
vitja.


More information about the cython-devel mailing list