[issue8081] a.append appends reference , causing unexpected behaviour

Benjamin Peterson report at bugs.python.org
Sat Mar 6 23:31:57 CET 2010


Benjamin Peterson <benjamin at python.org> added the comment:

Sorry, this is the expected behavior. Copy the list if you want a different one.

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

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


More information about the Python-bugs-list mailing list