[issue16372] Initialization strange behavior

Mark Dickinson report at bugs.python.org
Wed Oct 31 15:23:35 CET 2012


Mark Dickinson added the comment:

This is a feature, not a bug. :-)  See 

http://docs.python.org/2/faq/design.html#why-are-default-values-shared-between-objects

for more information.

----------
nosy: +mark.dickinson
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list