You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gawebb-dstl
changed the title
When iter is called on Tracker, it shouldn't reset according to Python standard
When iter is called on an iterator (Tracker), it shouldn't reset according to Python standard
Nov 2, 2023
This issue rarely is a problem, but it is when using heapq. (See example below)
Expected output:
[0, 1, 4, 9, 16, 25]
[0, 0, 1, 1, 4, 4, 9, 9, 16, 16, 25, 25]
Actual output:
[0, 1, 4, 9, 16, 25]
[0, 0, 1, 1, 4, 4, 9, 9, 16, 16, 25, 25, 0, 1, 4, 9, 16, 25]
The text was updated successfully, but these errors were encountered: