diff Python/mysnprintf.c @ 34539:8259ff3ee493 legacy-trunk

Fix bug that allowed future statements virtually anywhere in a module. If we exit via the break here, we need to set ff_last_lineno or FUTURE_POSSIBLE() will remain true. The bug affected statements containing a variety of expressions, but not all expressions. It has been present since Python 2.2.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Fri, 04 Feb 2005 18:38:43 +0000
parents 8af86a952b2c
children 2925b568aacc a8cc8e6f0c1a
line wrap: on
line diff