New submission from STINNER Victor <[EMAIL PROTECTED]>:

PySequence_Size() returns -1 on TypeError (object has no size), but 
_tkinter._flatten() ignores this error. Here is a patch with a 
testcase for _tkinter.

----------
components: Library (Lib)
files: _tkinter_flatten.patch
keywords: patch
messages: 73300
nosy: haypo
severity: normal
status: open
title: _tkinter._flatten() doesn't check PySequence_Size() error code
versions: Python 2.5, Python 2.6, Python 3.0
Added file: http://bugs.python.org/file11504/_tkinter_flatten.patch

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to