1. 07 Jan, 2015 1 commit
  2. 01 Jan, 2015 2 commits
  3. 29 Dec, 2014 1 commit
  4. 28 Dec, 2014 1 commit
  5. 19 Dec, 2014 1 commit
  6. 09 Dec, 2014 1 commit
    • Damien George's avatar
      py: Allow builtins to be overridden. · 78d702c3
      Damien George authored
      This patch adds a configuration option (MICROPY_CAN_OVERRIDE_BUILTINS)
      which, when enabled, allows to override all names within the builtins
      module.  A builtins override dict is created the first time the user
      assigns to a name in the builtins model, and then that dict is searched
      first on subsequent lookups.  Note that this implementation doesn't
      allow deleting of names.
      
      This patch also does some refactoring of builtins code, creating the
      modbuiltins.c file.
      
      Addresses issue #959.
      78d702c3
  7. 29 Nov, 2014 1 commit
  8. 22 Nov, 2014 1 commit
  9. 06 Nov, 2014 1 commit
  10. 05 Nov, 2014 1 commit
  11. 04 Nov, 2014 1 commit
  12. 29 Oct, 2014 1 commit
  13. 25 Oct, 2014 1 commit
  14. 23 Oct, 2014 1 commit
  15. 22 Oct, 2014 1 commit
  16. 15 Oct, 2014 1 commit
  17. 13 Oct, 2014 1 commit
  18. 12 Oct, 2014 2 commits
    • Paul Sokolovsky's avatar
      moduzlib: Integrate into the system. · 34162872
      Paul Sokolovsky authored
      34162872
    • Damien George's avatar
      py: Add module weak link support. · c14a8166
      Damien George authored
      With this patch a port can enable module weak link support and provide
      a dict of qstr->module mapping.  This mapping is looked up only if an
      import fails to find the requested module in the filesystem.
      
      This allows to have the builtin module named, eg, usocket, and provide
      a weak link of "socket" to the same module, but this weak link can be
      overridden if a file by the name "socket.py" is found in the import
      path.
      c14a8166
  19. 11 Oct, 2014 1 commit
  20. 06 Oct, 2014 2 commits
  21. 17 Sep, 2014 1 commit
  22. 07 Sep, 2014 2 commits
  23. 06 Sep, 2014 2 commits
  24. 03 Sep, 2014 1 commit
  25. 27 Aug, 2014 1 commit
  26. 24 Aug, 2014 1 commit
  27. 15 Aug, 2014 1 commit
  28. 12 Aug, 2014 1 commit
  29. 28 Jul, 2014 1 commit
  30. 25 Jul, 2014 1 commit
    • Dave Hylands's avatar
      Add support for storing args during an exception raised by an irq. · 5b7fd20f
      Dave Hylands authored
      The user code should call micropython.alloc_emergency_exception_buf(size)
      where size is the size of the buffer used to print the argument
      passed to the exception.
      
      With the test code from #732, and a call to
      micropython.alloc_emergenncy_exception_buf(100) the following error is
      now printed:
      ```python
      >>> import heartbeat_irq
      Uncaught exception in Timer(4) interrupt handler
      Traceback (most recent call last):
        File "0://heartbeat_irq.py", line 14, in heartbeat_cb
      NameError: name 'led' is not defined
      ```
      5b7fd20f
  31. 09 Jul, 2014 1 commit
  32. 03 Jul, 2014 2 commits
  33. 28 Jun, 2014 1 commit
  34. 27 Jun, 2014 1 commit