Benjamin Peterson added the comment:
Please see
https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects
--
nosy: +benjamin.peterson
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python
New submission from Nitin Bhojwani :
I observed a strange behaviour while working on a module.
This bug is present in multiple python version so seems it is related to
core-interpreter.
Behaviour can be reproduced by:
1. Create an object and in __init__ of class, we define a dictionary attribu