[New-bugs-announce] [issue3880] _tkinter._flatten() doesn't check PySequence_Size() error code
STINNER Victor
report at bugs.python.org
Tue Sep 16 15:45:16 CEST 2008
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
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 <report at bugs.python.org>
<http://bugs.python.org/issue3880>
_______________________________________
More information about the New-bugs-announce
mailing list