This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MegaIng
Recipients Arusekk, MegaIng
Date 2021-08-20.11:47:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I would also like to see this added, and I can also provided a usecase where I naturally came across this.

I am helping on a parsing library which uses regular expressions internally. We allow the user to select the stdlib re module or the third party regex module and store the selected module as an attribute in multiple different objects, since those modules (by design) have pretty much compatible interfaces. This however makes it unpicklable, unless one adds a custom __reduce__ function for each of those classes.

Most notably, this issue also extends to deepcopy and the multiprocessing module.
Date User Action Args
2021-08-20 11:48:00MegaIngsetrecipients: + MegaIng, Arusekk
2021-08-20 11:48:00MegaIngsetmessageid: <>
2021-08-20 11:48:00MegaInglinkissue43093 messages
2021-08-20 11:47:59MegaIngcreate