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
{{ message }}
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
It seems that the DoReset method of DictionaryEnumerator in AdapterDict.cs is
broken:
>>> pe = IronPython.Hosting.PythonEngine()
oem = pe.CreateOptimizedModule("temp_opt_model.py", "opt", True)
ator = oem.Globals.GetEnumerator()
[x for x in ator]
[<System.Collections.DictionaryEntry object at 0x000000000000002B
[System.Collections.DictionaryEntry]>, <System.Collect
ions.DictionaryEntry object at 0x000000000000002C
[System.Collections.DictionaryEntry]>, <System.Collections.DictionaryE
ntry object at 0x000000000000002D [System.Collections.DictionaryEntry]>]
ator.DoReset()
[x for x in ator]
Traceback (most recent call last):
File , line 0, in <stdin>##30
SystemError: Enumeration already finished.
As you can see, it does not actually reset the IEnumerator.
Work Item Details
Original CodePlex Issue:Issue 6711 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Dec 20, 2006 at 11:57 PM Reported by: dfugate Updated on: Feb 22, 2013 at 2:16 AM Updated by: jdhardy
The text was updated successfully, but these errors were encountered:
It seems that the DoReset method of DictionaryEnumerator in AdapterDict.cs is
broken:
As you can see, it does not actually reset the IEnumerator.
Work Item Details
Original CodePlex Issue: Issue 6711
Status: Active
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Dec 20, 2006 at 11:57 PM
Reported by: dfugate
Updated on: Feb 22, 2013 at 2:16 AM
Updated by: jdhardy
The text was updated successfully, but these errors were encountered: