[issue9646] Mutable default function parameter warning

2010-08-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please post to python-ideas first. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker ___ ___

[issue9646] Mutable default function parameter warning

2010-08-19 Thread Sérgio Surkamp
New submission from Sérgio Surkamp : 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