Eric Smith <e...@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. ---------- keywords: +patch Added file: http://bugs.python.org/file15331/issue7309.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7309> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com