[issue1587] instancemethod wrapper for PyCFunctions

Guido van Rossum report at bugs.python.org
Tue Dec 11 20:04:39 CET 2007


Guido van Rossum added the comment:

OK, you've convinced me. Let's just make it a C API for now.

On Dec 11, 2007 10:56 AM, Christian Heimes <report at bugs.python.org> wrote:
>
> 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>
> __________________________________
>

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


More information about the Python-bugs-list mailing list