-
- Downloads
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.
Showing
- py/builtin.c 1 addition, 1 deletionpy/builtin.c
- py/compile.c 6 additions, 9 deletionspy/compile.c
- py/emit.h 0 additions, 1 deletionpy/emit.h
- py/emitbc.c 0 additions, 7 deletionspy/emitbc.c
- py/emitcpy.c 0 additions, 8 deletionspy/emitcpy.c
- py/emitnative.c 0 additions, 8 deletionspy/emitnative.c
- py/emitpass1.c 0 additions, 1 deletionpy/emitpass1.c
Loading
Please register or sign in to comment