1. 25 Jan, 2014 1 commit
  2. 22 Jan, 2014 1 commit
  3. 21 Jan, 2014 1 commit
  4. 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 .
  5. 18 Jan, 2014 1 commit
  6. 15 Jan, 2014 1 commit
  7. 13 Jan, 2014 1 commit
  8. 06 Jan, 2014 2 commits
  9. 04 Jan, 2014 1 commit
    • Damien George's avatar
      Split qstr into pools, and put initial pool in ROM. · eb7bfcb2
      Damien George authored
      Qstr's are now split into a linked-list of qstr pools.  This has 2
      benefits: the first pool can be in ROM (huge benefit, since we no longer
      use RAM for the core qstrs), and subsequent pools use m_new for the next
      pool instead of m_renew (thus avoiding a huge single table for all the
      Still would be better to use a hash table, but this scheme takes us part
      of the way (eventually convert the pools to hash tables).
      Also fixed bug with import.
      Also improved the way the module code is referenced (not magic number 1
  10. 03 Jan, 2014 2 commits