[issue3958] strage default value behaviour

2008-09-24 Thread dominik.holler
dominik.holler <[EMAIL PROTECTED]> added the comment: thx sorry reporting this bug ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue3958] strage default value behaviour

2008-09-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Your script is subject to the "shared default value" syndrome, explained here: http://www.python.org/doc/faq/general/#why-are-default-values-shared-between-objects As indicated in the FAQ, your function could be rewritten like this: de

[issue3958] strage default value behaviour

2008-09-24 Thread dominik.holler
Changes by dominik.holler <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11594/index.html ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3958] strage default value behaviour

2008-09-24 Thread dominik.holler
New submission from dominik.holler <[EMAIL PROTECTED]>: The behaviour is changing, if I toogle comment lines 10 + 11. Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 -- components: None files: test.py messages: 73718 nosy: dominik.holler severity: