diff Python/pythonrun.c @ 36988:49c6eb688906

Checkpoint. 218 tests are okay; 53 are failing. Done so far: - all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords
author Guido van Rossum <guido@python.org>
date Wed, 15 Mar 2006 04:58:47 +0000
parents 4706b7a1256c
children 5aecedc98af6
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Mar 14 22:22:15 2006 +0000
+++ b/Python/pythonrun.c	Wed Mar 15 04:58:47 2006 +0000
@@ -696,9 +696,7 @@
 /* compute parser flags based on compiler flags */
 #define PARSER_FLAGS(flags) \
 	((flags) ? ((((flags)->cf_flags & PyCF_DONT_IMPLY_DEDENT) ? \
-		      PyPARSE_DONT_IMPLY_DEDENT : 0) \
-		    | ((flags)->cf_flags & CO_FUTURE_WITH_STATEMENT ? \
-		       PyPARSE_WITH_IS_KEYWORD : 0)) : 0)
+		      PyPARSE_DONT_IMPLY_DEDENT : 0)) : 0)
 
 int
 PyRun_InteractiveOneFlags(FILE *fp, const char *filename, PyCompilerFlags *flags)