A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-July/015998.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Include parsetok.h,2.15,2.16 pythonrun.h,2.42,2.43

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Include parsetok.h,2.15,2.16 pythonrun.h,2.42,2.43Thomas Wouters thomas@xs4all.net
Mon, 16 Jul 2001 08:57:29 +0200
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