This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients Mark.Shannon, lemburg, methane, rhettinger, serhiy.storchaka
Date 2022-02-24.06:47:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645685230.23.0.920185143566.issue40116@roundup.psfhosted.org>
In-reply-to
Content
I found regression caused by GH-28520.

```
class C:
    def __init__(self, n):
        if n:
            self.a = 1
            self.b = 2
            self.c = 3
        else:
            self.c = 1
            self.b = 2
            self.a = 3


o1 = C(True)
o2 = C(False)
print(o2.__dict__)  # {'c': 1, 'b': 2, 'a': 3}

d1 = {}
d1.update(o2.__dict__)  # {'a': 3, 'b': 2, 'c': 1}
print(d1)
```
History
Date User Action Args
2022-02-24 06:47:10methanesetrecipients: + methane, lemburg, rhettinger, Mark.Shannon, serhiy.storchaka
2022-02-24 06:47:10methanesetmessageid: <1645685230.23.0.920185143566.issue40116@roundup.psfhosted.org>
2022-02-24 06:47:10methanelinkissue40116 messages
2022-02-24 06:47:10methanecreate