> future imports have to come first... I thought that too, but if I run this script (with 2.2), it works:
"""
__author__ = "Tony Meyer"
from __future__ import generators
def a():
yield 1
for b in a():
print b
"""
Why is that? Is it just an implementation quirk?
=Tony.Meyer
_______________________________________________
spambayes-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-dev
