Andrei Kulakov <andrei....@gmail.com> added the comment:

The issue seems to be that there was a change between 3.7.7 and 3.8.6, - 
multiprocessing started using pickle dump / load which cannot handle double 
underscore methods.

See #33007 for a reproducer with pickle.

I'm using MacOS and this multiprocessing example in OP works fine in 3.7.7 and 
raises the same error as OP in 3.8.6. So from my side at least it doesn't 
appear to be a cross-platform issue (but I'm not sure why it worked on Linux on 
3.8.10 for OP).

I've also reproduced it on the latest 3.11.

So this appears to be a regression and if there's an easy fix, it's probably 
worth fixing.

----------
nosy: +andrei.avk

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44675>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to