A library to assist writing memory-unsafe code in "pure" Python

albertzeyer | 53 points

There are some real world use cases for these.

I do use some similar helpers to e.g. create pickable weakrefs for passing large objects to forking multiprocessing pools as arguments, or expose large objects in shared memories. It's not portable against non-CPython implementations, but as long as it's well documented and known, it's fine.

Galanwe | 12 days ago

Sergeant Frank Tree: You shouldn't touch the ordnance at all. But more specifically, you should never pull this hand-operating lever to the rear.

Ward Douglas: Never.

owlstuffing | 12 days ago

[dead]

Olesya000 | 12 days ago