Skip to content
Snippets Groups Projects
  • Damien George's avatar
    73d1d20b
    py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. · 73d1d20b
    Damien George authored
    This constant exception instance was once used by m_malloc_fail() to raise
    a MemoryError without allocating memory, but it was made obsolete long ago
    by 3556e457.  The functionality is now
    replaced by the use of mp_emergency_exception_obj which lives in the global
    uPy state, and which can handle any exception type, not just MemoryError.
    73d1d20b
    History
    py/objexcept: Remove long-obsolete mp_const_MemoryError_obj.
    Damien George authored
    This constant exception instance was once used by m_malloc_fail() to raise
    a MemoryError without allocating memory, but it was made obsolete long ago
    by 3556e457.  The functionality is now
    replaced by the use of mp_emergency_exception_obj which lives in the global
    uPy state, and which can handle any exception type, not just MemoryError.