Mailing List Archive

[issue3880] _tkinter._flatten() doesn't check PySequence_Size() error code
STINNER Victor <victor.stinner@haypocalc.com> added the comment:

The bug is still here in py3k:

$ cat bla.py
import _tkinter, gc
_tkinter._flatten(True)
gc.collect()

$ ./python bla.py
Exception TypeError: "object of type 'bool' has no len()" in 'garbage
collection' ignored
Fatal Python error: unexpected exception during garbage collection
Abandon (core dumped)

Can anyone apply my patch?

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue3880] _tkinter._flatten() doesn't check PySequence_Size() error code [ In reply to ]
Benjamin Peterson <benjamin@python.org> added the comment:

Applied in r69113.

----------
nosy: +benjamin.peterson
resolution: -> fixed
status: open -> closed

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com