[issue1587] instancemethod wrapper for PyCFunctions

Christian Heimes report at bugs.python.org
Tue Dec 11 19:56:03 CET 2007


Christian Heimes added the comment:

The wrapper is useful for C code which used PyMethod_New(func, NULL,
type) in 2.5. W/o a wrapper people may have to rewrite and redesign
their code base.

For example see http://bugs.python.org/issue1505 and r59215. I had to
rewrite a good bunch of code just to get one C function right.

I'm +1 to add a wrapper and +0 to expose it to Python code and -0 to
expose it as built-in. I used a built-in for quick testing.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1587>
__________________________________


More information about the Python-bugs-list mailing list