[issue8014] Setting a T_INT attribute raises internal error
Mark Dickinson
report at bugs.python.org
Wed Feb 24 22:57:56 CET 2010
Mark Dickinson <dickinsm at 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.
----------
assignee: -> mark.dickinson
keywords: +patch
priority: -> normal
stage: -> test needed
Added file: http://bugs.python.org/file16363/issue8014.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8014>
_______________________________________
More information about the Python-bugs-list
mailing list