can't import generators

John Hunter jdhunter at nitace.bsd.uchicago.edu
Sat Jun 29 16:14:31 EDT 2002


I am having trouble working with generators.  Anyone know what might
cause this behavior:

> /usr/local/bin/python2.2
Python 2.2.1 (#1, Apr 22 2002, 21:20:54) 
[GCC 3.0.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import generators
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: cannot import name generators
>>> 


Thanks,
John Hunter



More information about the Python-list mailing list