diff Include/code.h @ 36602:9c0fd586475c legacy-trunk

Generators have been permanent for a while. This comment is no longer applicable.
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 19 Feb 2006 18:49:30 +0000
parents e7815495bb27
children 6b42920accc9
line wrap: on
line diff
--- a/Include/code.h	Sun Feb 19 18:48:19 2006 +0000
+++ b/Include/code.h	Sun Feb 19 18:49:30 2006 +0000
@@ -39,12 +39,7 @@
    call frame it setup.
 */
 #define CO_NOFREE       0x0040
-/* XXX Temporary hack.  Until generators are a permanent part of the
-   language, we need a way for a code object to record that generators
-   were *possible* when it was compiled.  This is so code dynamically
-   compiled *by* a code object knows whether to allow yield stmts.  In
-   effect, this passes on the "from __future__ import generators" state
-   in effect when the code block was compiled. */
+
 #define CO_GENERATOR_ALLOWED    0x1000 /* no longer used in an essential way */
 #define CO_FUTURE_DIVISION    	0x2000