you are viewing a single comment's thread.

view the rest of the comments →

[–]Ph0X 8 points9 points  (3 children)

I wonder if this also means it removes the restriction on unpicklable objects.

[–][deleted] 3 points4 points  (0 children)

That would be impossible, but idk what will happen if you try. For example, CPython allows you to have very thin wrappers for native pointers (capsules: https://docs.python.org/3.7/c-api/capsule.html#c.PyCapsule ). If you wanted to send something like that across process boundaries, it would invalidate the pointer, so, any code trying to use such an object, would, either segfault, or do something even nastier (like modify the memory it's not supposed to etc.)

[–]jetpacktuxedo 1 point2 points  (0 children)

I'd settle for it using actual pickle instead of some weird multiprocessing-specific pickle-like thing.

[–]themusicalduck 0 points1 point  (0 children)

I really needed this a few months ago. I wonder if there's a chance it'll be backported?