On Sun, Jul 15, 2001 at 10:37:26PM -0700, Tim Peters wrote: > Modified Files: > parsetok.h pythonrun.h > Log Message: > Ugly. A pile of new xxxFlags() functions, to communicate to the parser > that 'yield' is a keyword. This doesn't help test_generators at all! I > don't know why not. These things do work now (and didn't before this > patch): What's the problem with this, anyway ? Why would "from __future__ import generators" or special flags be necessary to enable the existance of generators ? I'd have thought it's just a parser directive (okay, so that's tricky to implement) but to code that doesn't use 'yield' a generator is just another iterator, right ? -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4