Question about generators.

kiwwisk at kiwwisk at
Mon Jan 30 14:22:08 EST 2006

Thanks for reply :)
I'm little sceptic about this code:
>>> a = gen1()
>>> a.gi_frame.f_code.co_name

will it be compatible with Python 2.3, 2.4, 2.5+ and future versions?
Seems very internal and subject of future change.


More information about the Python-list mailing list