Skip to content
Snippets Groups Projects
Select Git revision
  • 882b363564b64204c12726d5d2cd7f596322729f
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

builtin.c

  • Damien George's avatar
    882b3635
    py: Move to Python 3.4.0 compatibility. · 882b3635
    Damien George authored
    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.
    882b3635
    History
    py: Move to Python 3.4.0 compatibility.
    Damien George authored
    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.