Gooooooaaaaalll!

16 views
Skip to first unread message

Christian Iversen

unread,
Jul 31, 2013, 6:35:11 PM7/31/13
to pyj...@googlegroups.com
Hello world!

We did it :-)

The newest most cuttingest-edge pyjaco build does the following now:

Ran 236 tests in 6.094s

OK


This is on the new brütal test suite, which absolutely mauls the old pyjaco:

FAILED (failures=24)



Apart from generators and multiple inheritance, only a few things are
not working. For example, making a function change between <type
'function'> and <type 'instancemethod'> causes the arguments to be garbled.

The solution to this is to keep working on attribute semantics. The key
to understand python, is understanding the attribute lookup process, so
I've been brushing up on python semantics lately. On the plus side, I
now fully understand instancing, __new__, descriptors, metaclasses,
multiple inheritance, __mro__, the internals of decorators, and the
metaclass-class-instance type structure.

It's all connected, really :-)


If you want to play with new code, clone it on github:

https://github.com/chrivers/pyjaco/tree/newcall

Newcall is the branch that features new calling semantics (as well as
merging the newattr branch that implemented a crucial new attribute
lookup system).

--
Med venlig hilsen
Christian Iversen
Reply all
Reply to author
Forward
0 new messages