[issue34892] persistence of attributes with new instance

Florian Michaux report at bugs.python.org
Thu Oct 4 09:31:14 EDT 2018


New submission from Florian Michaux <fmichaux37 at gmail.com>:

Hello,

I don't know what's going on.
When using a for loop over multiple same instance creation, i got persistence with instance attributes

Code example in attachement.

----------
components: Interpreter Core
files: buggyclass.py
messages: 327051
nosy: Florian Michaux
priority: normal
severity: normal
status: open
title: persistence of attributes with new instance
versions: Python 2.7, Python 3.7
Added file: https://bugs.python.org/file47848/buggyclass.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34892>
_______________________________________


More information about the Python-bugs-list mailing list