Ertuğrul Karademir <ekarade...@gmail.com> added the comment:

Thank you

Ertuğrul Karademir

On Wed, Nov 29, 2017 at 11:28 AM, Eric V. Smith <rep...@bugs.python.org>
wrote:

>
> Eric V. Smith <e...@trueblade.com> added the comment:
>
> This is defined behavior. Try searching for "mutable default parameter".
> For example, here's an old post on it:
>
> http://www.effbot.org/zone/default-values.htm
>
> This isn't related to class vs. instance attributes, but rather the
> default parameter 'props' being modified.
>
> ----------
> nosy: +eric.smith
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <https://bugs.python.org/issue32168>
> _______________________________________
>

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32168>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to