Mercurial > cpython-lru_cache-weakref
diff Python/errors.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 | ed4dc05ea4b8 |
| children | 30aef3ce2b26 |
