This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, vajrasky
Date 2014-01-10.02:21:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389320502.54.0.0266224923331.issue20173@psf.upfronthosting.co.za>
In-reply-to
Content
That METH_O is working perfectly.  You seem to be confused by it.

The original code was kind of dumb.  The function only takes two parameters: self, and a second "obj" parameter which can be any kind of object.  CPython has special support for exactly this kind of function, which is METH_O.  This will actually be slightly faster.  In any case, that part of your conversion was correct.  Don't sweat it.

http://docs.python.org/3.4/c-api/structures.html?highlight=meth_o#METH_O
History
Date User Action Args
2014-01-10 02:21:42larrysetrecipients: + larry, vajrasky
2014-01-10 02:21:42larrysetmessageid: <1389320502.54.0.0266224923331.issue20173@psf.upfronthosting.co.za>
2014-01-10 02:21:42larrylinkissue20173 messages
2014-01-10 02:21:42larrycreate