[issue11562] += on list inside a tuple raises TypeError but succeeds anyway

Nick Coghlan report at bugs.python.org
Wed Mar 16 16:30:09 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

As Daniel noted, this behaviour is in accordance with the language definition.

It's obscure and surprising behaviour, but it isn't wrong.

----------
nosy: +ncoghlan
resolution:  -> invalid
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11562>
_______________________________________


More information about the Python-bugs-list mailing list