You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well I'm working on this now I suppose 😁 I was gonna just test some stuff out for a bit but now I've been doing it for an hour and I'm on the way to an implementation lol
This could probably serve as a tracking issue of things to switch over to fallible allocations, with checkboxes and stuff (eventually), since this should be a fairly easy thing for people to work on as a first contribution (hopefully).
MemoryError is implemented: PyMemoryError with a freelist, VirtualMachine::new_memory_error, and fallible allocation paths that use try_reserve / no_memory_error instead of aborting.
Activity
coolreader18 commentedon Dec 3, 2021
Well I'm working on this now I suppose 😁 I was gonna just test some stuff out for a bit but now I've been doing it for an hour and I'm on the way to an implementation lol
[-]MemoryError[/-][+]MemoryError/fallible allocations[/+]coolreader18 commentedon Dec 4, 2021
This could probably serve as a tracking issue of things to switch over to fallible allocations, with checkboxes and stuff (eventually), since this should be a fairly easy thing for people to work on as a first contribution (hopefully).
youknowone commentedon Oct 6, 2026
MemoryErroris implemented:PyMemoryErrorwith a freelist,VirtualMachine::new_memory_error, and fallible allocation paths that usetry_reserve/no_memory_errorinstead of aborting.Closing.
— commented by Grok 4.6