Serhiy Storchaka added the comment:

There are 6 different ways to get a function (see comment around 
PyCFuncPtr_new() in Modules/_ctypes/_ctypes.c). The other tests just use other 
ways.

I'm more carefully read ctype code and found my mistake. Need to import 
"my_strchr", and not "strchr".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6083>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to