From 882b363564b64204c12726d5d2cd7f596322729f Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 2 Apr 2014 15:56:31 +0100 Subject: py: Move to Python 3.4.0 compatibility. Very little has changed. In Python 3.4 they removed the opcode STORE_LOCALS, but in Micro Python we only ever used this for CPython compatibility, so it was a trivial thing to remove. It also allowed to clean up some dead code (eg the 0xdeadbeef in class construction), and now class builders use 1 less stack word. Python 3.4.0 introduced the LOAD_CLASSDEREF opcode, which I have not yet understood. Still, all tests (apart from bytecode test) still pass. Bytecode tests needs some more attention, but they are not that important anymore. --- py/emitpass1.c | 1 - 1 file changed, 1 deletion(-) (limited to 'py/emitpass1.c') diff --git a/py/emitpass1.c b/py/emitpass1.c index e4dbf1412..d2f7aaa53 100644 --- a/py/emitpass1.c +++ b/py/emitpass1.c @@ -182,5 +182,4 @@ const emit_method_table_t emit_pass1_method_table = { (void*)emit_pass1_dummy, (void*)emit_pass1_dummy, (void*)emit_pass1_dummy, - (void*)emit_pass1_dummy, }; -- cgit v1.2.3