Log In
Access more options
Online Help
Keyboard Shortcuts
About JIRA
JIRA Credits
What?s New
Dashboards
Access more options (Alt+d)
Projects
Access more options (Alt+p)
Issues
Access more options (Alt+i)
Quick Search
Signup
Boo
BOO-335
for and unpack statements should work with any type that exposes a compatible GetEnumerator method
Log In
Views
XML
Word
Printable
Details
Type:
Improvement
Status:
Closed
Priority:
Major
Resolution:
Fixed
Affects Version/s:
0.5
Fix Version/s:
0.7
Component/s:
Compiler
Labels:
None
Number of attachments :
0
Description
class Foo:
def GetEnumerator():
return
[1, 2, 3]
.GetEnumerator()
for i in Foo():
print i
Activity
All
Comments
Work Log
History
Activity
There are no comments yet on this issue.
People
Assignee:
Rodrigo B. de Oliveira
Reporter:
Rodrigo B. de Oliveira
Vote
(
0
)
Watch
(
0
)
Dates
Created:
22/May/05 7:43 PM
Updated:
22/May/05 7:44 PM
Resolved:
22/May/05 7:44 PM