__metaclass__ support
authorVitja Makarov <vitja.makarov@gmail.com>
Tue, 2 Nov 2010 22:32:09 +0000 (01:32 +0300)
committerVitja Makarov <vitja.makarov@gmail.com>
Tue, 2 Nov 2010 22:32:09 +0000 (01:32 +0300)
commit54031cb0ce74d5929aa2e9f3bbb4fa04a6827319
treeccfae6e305a89a322537df056dab25bf4dd97406
parent581671b5b48d56094f52d38edd1cb0e8e089abde
__metaclass__ support
Fill class attributes dict before class creation. Use bindings for class methods.
And use PyCFunction for staticmethods and __new__. Add simple testcase for __metaclass__.
And test for staticmethod as decorator
Cython/Compiler/ExprNodes.py
Cython/Compiler/Nodes.py
Cython/Compiler/Symtab.py
tests/run/classmethod.pyx
tests/run/metaclass.pyx [new file with mode: 0644]
tests/run/staticmethod.pyx