Message 340681 - Python tracker

Message340681

Author brett.cannon
Recipients brett.cannon, pitrou, xtreak
Date 2019-04-22.19:35:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555961715.05.0.0776676444887.issue36688@roundup.psfhosted.org>
In-reply-to
Content
Basically _thread.RLock was added without an equivalent in _dummy_thread. Add that and it will fix the issue. It probably wouldn't be too hard since you have to implement it as if it's single-threaded and there's already a lock class in _dummy_thread to work off of. Heck, functools used to have its own dummy version in https://github.com/python/cpython/commit/a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344 but it got ripped out, although it was extremely basic so I don't know if it would be the best version to put into _dummy_thread.
History
Date User Action Args
2019-04-22 19:35:15brett.cannonsetrecipients: + brett.cannon, pitrou, xtreak
2019-04-22 19:35:15brett.cannonsetmessageid: <1555961715.05.0.0776676444887.issue36688@roundup.psfhosted.org>
2019-04-22 19:35:15brett.cannonlinkissue36688 messages
2019-04-22 19:35:14brett.cannoncreate