Martin Teichmann added the comment: I looked over the patch once more and found some places where I didn't follow normal coding standards. I changed that, namely now the code returns -1 meaning an exception happened and 0 on success, which is what many functions in typeobject.c do.
So I think this patch should be ready. ---------- Added file: http://bugs.python.org/file43882/pep487.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27366> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com