[issue38370] An array as attribute of an object is shared between instances

2019-10-04 Thread plugin nieulq
plugin nieulq added the comment: Ah ... Ok. My bad. Thank you for pointing this out to me, Mark. This is definitely a strange behavior. -- nosy: -mark.dickinson resolution: not a bug -> ___ Python tracker <https://bugs.python.org/issu

[issue38370] An array as attribute of an object is shared between instances

2019-10-04 Thread plugin nieulq
plugin nieulq added the comment: I am using this version on Windows : Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]. When an attribute of an object is an array, the array is shared between instances as shown in my example. class AClass(object

[issue38370] An array as attribute of an object is shared between instances

2019-10-04 Thread plugin nieulq
New submission from plugin nieulq : I am using this version on Windows : Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]. When an attribute of an object is an array, the array is shared between instances as shown in my example. When executed