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 skrah
Recipients boytsovea, skrah
Date 2020-02-27.17:23:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582824233.7.0.22821041097.issue39776@roundup.psfhosted.org>
In-reply-to
Content
I've briefly looked at the zip archive. Without going much into
the C++ module as a whole, this should not be done:


    gil_unlocker.UnlockGILAndSleep()
    self.val = decimal.Decimal(1) / decimal.Decimal(7)
    gil_unlocker.UnlockGILAndSleep()


If you want C++ threads with a released GIL, you should use libmpdec
directly and not the Python module.
History
Date User Action Args
2020-02-27 17:23:53skrahsetrecipients: + skrah, boytsovea
2020-02-27 17:23:53skrahsetmessageid: <1582824233.7.0.22821041097.issue39776@roundup.psfhosted.org>
2020-02-27 17:23:53skrahlinkissue39776 messages
2020-02-27 17:23:53skrahcreate