[issue7309] crasher in str(Exception())
report at bugs.python.org
Sat Nov 14 19:45:33 CET 2009
Eric Smith <eric at trueblade.com> added the comment:
The patch that is (hopefully) attached is a first, incomplete cut just
for demonstration purposes. I still need to cover all of the cases where
PyString_AS_STRING are called without type checking. Also, as Ezio
points out, start and end are used to index an array without type
checking. I'll fix that as well.
The patch is against trunk.
Added file: http://bugs.python.org/file15331/issue7309.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list