Skip to content
Snippets Groups Projects
  1. Feb 08, 2015
  2. Feb 07, 2015
    • Damien George's avatar
      py: Protect mp_parse and mp_compile with nlr push/pop block. · 0bfc7638
      Damien George authored
      To enable parsing constants more efficiently, mp_parse should be allowed
      to raise an exception, and mp_compile can already raise a MemoryError.
      So these functions need to be protected by an nlr push/pop block.
      
      This patch adds that feature in all places.  This allows to simplify how
      mp_parse and mp_compile are called: they now raise an exception if they
      have an error and so explicit checking is not needed anymore.
      0bfc7638
    • Damien George's avatar
      py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. · e1e359ff
      Damien George authored
      Without mp_sys_path and mp_sys_argv in the root pointer section of the
      state, their memory was being incorrectly collected by GC.
      e1e359ff
  3. Feb 02, 2015
  4. Jan 30, 2015
  5. Jan 29, 2015
  6. Jan 28, 2015
  7. Jan 27, 2015
  8. Jan 25, 2015
  9. Jan 24, 2015
  10. Jan 23, 2015
  11. Jan 22, 2015
  12. Jan 21, 2015
  13. Jan 20, 2015
Loading