Benjamin Peterson <benja...@python.org> added the comment:

2010/2/24 Mark Dickinson <rep...@bugs.python.org>:
>
> Mark Dickinson <dicki...@gmail.com> added the comment:
>
> Here's a patch that raises TypeError if either PyLongAs_Size_t or 
> PyLong_As_Ssize_t gets called with a valid non-integer PyObject *.
>
> I'm not sure where the most appropriate place for a test is.

There's test_structmembers.py I think.

----------

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

Reply via email to