0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
cpython/Python
Jeremy Hylton 39e2f3f824 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.
2001-02-28 01:58:08 +00:00
..
.cvsignore
atof.c
bltinmodule.c
ceval.c Remove trailing comma from 'why_code' enum, which was introduced by the 2001-02-16 11:52:31 +00:00
codecs.c
compile.c Presumed correct compiler pass for future statements 2001-02-28 01:58:08 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c
exceptions.c
fmod.c
frozen.c
frozenmain.c
future.c Presumed correct compiler pass for future statements 2001-02-28 01:58:08 +00:00
getargs.c Related to SF bug 132008 (PyList_Reverse blows up). 2001-02-12 22:13:26 +00:00
getcompiler.c
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c The code in PyImport_Import() tried to save itself a bit of work and 2001-02-20 21:43:24 +00:00
importdl.c
importdl.h
marshal.c
memmove.c
modsupport.c
mystrtoul.c
pyfpe.c
pystate.c
pythonmain.c
pythonrun.c Bug #132850 unix line terminator on windows. 2001-02-17 22:02:34 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c
symtable.c Improved __future__ parser; still more to do 2001-02-27 19:07:02 +00:00
sysmodule.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
thread.c
traceback.c