1. 22 Jan, 2014 1 commit
  2. 21 Jan, 2014 1 commit
  3. 19 Jan, 2014 1 commit
    • Paul Sokolovsky's avatar
      Implement modules as singletons Python semantics. · d720ab52
      Paul Sokolovsky authored
      In Python, importing module several times returns same underlying module
      object. This also fixes import statement handling for builtin modules.
      There're still issues:
      1. CPython exposes set of loaded modules as sys.modules, we may want to
      do that either.
      2. Builtin modules are implicitly imported, which is not really correct.
      We should separate registering a (builtin) module and importing a module.
      CPython keeps builtin module names in sys.builtin_module_names .
  4. 18 Jan, 2014 1 commit
    • Damien George's avatar
      Make VM stack grow upwards, and so no reversed args arrays. · 20006dbb
      Damien George authored
      Change state layout in VM so the stack starts at state[0] and grows
      upwards.  Locals are at the top end of the state and number downwards.
      This cleans up a lot of the interface connecting the VM to C: now all
      functions that take an array of Micro Python objects are in order (ie no
      longer in reverse).
      Also clean up C API with keyword arguments (call_n and call_n_kw
      replaced with single call method that takes keyword arguments).  And now
      make_new takes keyword arguments.
      emitnative.c has not yet been changed to comply with the new order of
      stack layout.
  5. 15 Jan, 2014 1 commit
  6. 09 Jan, 2014 1 commit
  7. 08 Jan, 2014 1 commit
  8. 07 Jan, 2014 3 commits
  9. 06 Jan, 2014 1 commit
  10. 05 Jan, 2014 1 commit
  11. 04 Jan, 2014 1 commit
  12. 02 Jan, 2014 1 commit