Mercurial > cpython-lru_cache-weakref
comparison Python/pythonmain.c @ 16823:acbe74f3a786 legacy-trunk
Presumed correct compiler pass for future statements
XXX still need to integrate into symtable API
compile.h: Remove ff_n_simple_stmt; obsolete.
Add ff_found_docstring used internally to skip one and only
one string at the beginning of a module.
compile.c: Add check for from __future__ imports to far into the file.
In symtable_global() check for -1 returned from
symtable_lookup(), which signifies name not defined.
Add missing DECERF in symtable_add_def.
Free c->c_future.
future.c: Add special handling for multiple statements joined on a
single line using one or more semicolons; this form can
include an illegal future statement that would otherwise be
hard to detect.
Add support for detecting and skipping doc strings.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Wed, 28 Feb 2001 01:58:08 +0000 |
| parents | 85140b354890 |
| children |
comparison
equal
deleted
inserted
replaced
| 16822:0f0efc2d12f1 | 16823:acbe74f3a786 |
|---|
