A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-March/025276.html below:

[Python-checkins] CVS: python/dist/src/Python ceval.c,2.306,2.307

[Python-checkins] CVS: python/dist/src/Python ceval.c,2.306,2.307Neil Schemenauer nascheme@users.sourceforge.net
Fri, 22 Mar 2002 15:53:18 -0800
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv25715/Python

Modified Files:
	ceval.c 
Log Message:
Disable the parser hacks that enabled the "yield" keyword using a future
statement.


Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.306
retrieving revision 2.307
diff -C2 -d -r2.306 -r2.307
*** ceval.c	18 Mar 2002 20:45:09 -0000	2.306
--- ceval.c	22 Mar 2002 23:53:16 -0000	2.307
***************
*** 2985,2992 ****
--- 2985,2994 ----
  			cf->cf_flags |= compilerflags;
  		}
+ #if 0 /* future keyword */
  		if (codeflags & CO_GENERATOR_ALLOWED) {
  			result = 1;
  			cf->cf_flags |= CO_GENERATOR_ALLOWED;
  		}
+ #endif
  	}
  	return result;




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