Author christian.heimes
Recipients Anthony Sottile, christian.heimes, pablogsal, vstinner
Date 2021-05-05.09:20:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620206421.95.0.515332752818.issue44043@roundup.psfhosted.org>
In-reply-to
Content
That's possible.

I suspect it's related to test_gil itself. Hash providers don't release the GIL for inputs < 2048 bytes. Hashing of small inputs is faster than releasing and re-acquiring the GIL. For inputs >= 2048 hashlib creates a per-object lock and release the GIL while holding the internal lock. The test case verifies that hashlib works correctly for larger inputs that release the GIL.
History
Date User Action Args
2021-05-05 09:20:21christian.heimessetrecipients: + christian.heimes, vstinner, Anthony Sottile, pablogsal
2021-05-05 09:20:21christian.heimessetmessageid: <1620206421.95.0.515332752818.issue44043@roundup.psfhosted.org>
2021-05-05 09:20:21christian.heimeslinkissue44043 messages
2021-05-05 09:20:21christian.heimescreate