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 rhettinger
Recipients JelleZijlstra, malthe, rhettinger
Date 2022-03-05.03:53:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646452384.31.0.895169462852.issue46925@roundup.psfhosted.org>
In-reply-to
Content
I concur with Jelle and Methane that we can't do this without breaking code.

Also if you don't care about dict order, the work around is easy.  Just remove the old key:

    d.pop(k); d[k] = v
History
Date User Action Args
2022-03-05 03:53:04rhettingersetrecipients: + rhettinger, malthe, JelleZijlstra
2022-03-05 03:53:04rhettingersetmessageid: <1646452384.31.0.895169462852.issue46925@roundup.psfhosted.org>
2022-03-05 03:53:04rhettingerlinkissue46925 messages
2022-03-05 03:53:04rhettingercreate