News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by xmcqdpt2 on Saturday July 29, 2023 @07:37AM (#36919219)
I believe you just pass objects instead, like you would in OOP, and take the hit of pickling and unpickling them every time.

If you really want to pass lambdas, you can use a third party library to pickle them

https://github.com/cloudpipe/cloudpickle

Yes, this is not great.

There are no comments on this comment yet.