Message371072
Here's a workaround that's possible with PR 20749 applied: >>> d = {"a":1, "b":2} # fill up the dict... >>> DICT = object() >>> d[DICT] = d >>> items = d.items() >>> del d >>> >>> d = items.mapping[DICT].pop(DICT) >>> d {'a': 1, 'b': 2} | |
| Date | User | Action | Args | | 2020-06-09 02:01:23 | Dennis Sweeney | set | recipients: + Dennis Sweeney, rhettinger, methane, serhiy.storchaka, remi.lapeyre | | 2020-06-09 02:01:23 | Dennis Sweeney | set | messageid: <1591668083.66.0.934535048399.issue40890@roundup.psfhosted.org> | | 2020-06-09 02:01:23 | Dennis Sweeney | link | issue40890 messages | | 2020-06-09 02:01:23 | Dennis Sweeney | create | | |