mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +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
|
|
@ -78,6 +78,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#define RAISE_EXCEPTION 81
|
||||
#define LOAD_LOCALS 82
|
||||
#define RETURN_VALUE 83
|
||||
#define LOAD_GLOBALS 84
|
||||
#define EXEC_STMT 85
|
||||
|
||||
#define BUILD_FUNCTION 86
|
||||
#define POP_BLOCK 87
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue