Author surkamp
Recipients surkamp
Date 2010-08-19.18:42:07
SpamBayes Score 0.000954004
Marked as misclassified No
Message-id <>
The documentation states that the default value of function parameter, if mutable, can change it's default value at runtime due to be evaluated only once on function object creation.

I would like to suggest the inclusion of an default language warning when this kind of construction is used, as it's Python specific behavior and can lead to "strange behavior" or misuse by programmers that are migrating from other languages to Python.

Documentation reference:
Date User Action Args
2010-08-19 18:42:11surkampsetrecipients: + surkamp
2010-08-19 18:42:10surkampsetmessageid: <>
2010-08-19 18:42:08surkamplinkissue9646 messages
2010-08-19 18:42:08surkampcreate