Bug in __init__?

Martin Blume mblume at socha.net
Fri Jan 18 12:23:07 EST 2008


"Zbigniew Braniecki"  schrieb
> I found a bug in my code today, and spent an hour trying to locate
it
> and then minimize the testcase.
>   [...]
>    def __init__ (self, val=[]):
>  [...]
> Any clue on what's going on here, and/if where I should report it?
>

I think this has to do with
http://docs.python.org/tut/node6.html#SECTION006710000000000000000
especially the "Important Warning"

Regards
Martin






More information about the Python-list mailing list