This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author trott
Recipients eckhardt, trott
Date 2008-10-10.10:19:28
SpamBayes Score 5.2221374e-05
Marked as misclassified No
Message-id <1223634029.43.0.896918964527.issue4098@psf.upfronthosting.co.za>
In-reply-to
Content
OK. I've read the Python Reference Manual 7.6 "Function Definition".
It "explains" why this happens.

BUT: Why can`t the compiler make a copy of the default object, if
it's mutable (e.g. a list)? This can't be that difficult.
History
Date User Action Args
2008-10-10 10:20:29trottsetrecipients: + trott, eckhardt
2008-10-10 10:20:29trottsetmessageid: <1223634029.43.0.896918964527.issue4098@psf.upfronthosting.co.za>
2008-10-10 10:19:28trottlinkissue4098 messages
2008-10-10 10:19:28trottcreate