mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
* bltinmodule.c: removed exec() built-in function.
* Grammar: add exec statement; allow testlist in expr statement.
* ceval.c, compile.c, opcode.h: support exec statement;
avoid optimizing locals when it is used
* fileobject.{c,h}: add getfilename() internal function.
This commit is contained in:
parent
cacd9579d4
commit
db3165e655
9 changed files with 600 additions and 451 deletions
|
|
@ -38,6 +38,7 @@ extern object *newfileobject PROTO((char *, char *));
|
|||
extern object *newopenfileobject
|
||||
PROTO((FILE *, char *, char *, int (*)FPROTO((FILE *))));
|
||||
extern FILE *getfilefile PROTO((object *));
|
||||
extern object *getfilename PROTO((object *));
|
||||
extern object *filegetline PROTO((object *, int));
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue