[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-29 Thread Thomas Perl
Change by Thomas Perl : -- pull_requests: +12555 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Inada Naoki
Inada Naoki added the comment: Thank you. I like your patch. -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset 796cc6e3ad3617c1ea9e528663aac1a206230a28 by Inada Naoki (Thomas Perl) in branch 'master': bpo-36452: dictiter: track maximum iteration count (GH-12596) https://github.com/python/cpython/commit/796cc6e3ad3617c1ea9e528663aac1a206230a28 --

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +12539 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Thomas Perl
New submission from Thomas Perl : Using: Python 3.8 (git commit ID: d5a5a33f12b60129d57f9b423b77d2fcba506834), the following code snippet: = a = {0: 0} for i in a: del a[i] a[i+1] = 0 print(i) = Prints the following output: = 0 1 2 3 4 = The reason for this seem