mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Improved __future__ parser; still more to do
Makefile.pre.in: add target future.o
Include/compile.h: define PyFutureFeaters and PyNode_Future()
add c_future slot to struct compiling
Include/symtable.h: add st_future slot to struct symtable
Python/future.c: implementation of PyNode_Future()
Python/compile.c: use PyNode_Future() for nested_scopes support
Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
This commit is contained in:
parent
ed5e8234d7
commit
4db62b1e14
6 changed files with 167 additions and 46 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "Python.h"
|
||||
#include "compile.h"
|
||||
#include "symtable.h"
|
||||
#include "graminit.h"
|
||||
#include "structmember.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue