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 Valentyn Tymofieiev
Recipients Valentyn Tymofieiev, alexandre.vassalotti, brett.cannon, eric.snow, gst, ncoghlan, pitrou, tjb900
Date 2019-11-21.19:24:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
While investigating[1], I observe that certain unpickling operations, for example, Unpickler.find_class, remain not thread-safe in Python 3.7.5 and earlier versions that I tried. I have not tried 3.8, but cannot reproduce this error on Python 2. 

For example, attached which consistently fails with a deadlock on Python 3.7.5.

I opened, which may be causing these errors, since the failure mode is similar, and in at least some codepaths, find_class seems to be calling __import__ [2].

Date User Action Args
2019-11-21 19:24:33Valentyn Tymofieievsetrecipients: + Valentyn Tymofieiev, brett.cannon, ncoghlan, pitrou, alexandre.vassalotti, eric.snow, tjb900, gst
2019-11-21 19:24:33Valentyn Tymofieievsetmessageid: <>
2019-11-21 19:24:33Valentyn Tymofieievlinkissue34572 messages
2019-11-21 19:24:33Valentyn Tymofieievcreate