Message392997
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. |
|
Date |
User |
Action |
Args |
2021-05-05 09:20:21 | christian.heimes | set | recipients:
+ christian.heimes, vstinner, Anthony Sottile, pablogsal |
2021-05-05 09:20:21 | christian.heimes | set | messageid: <1620206421.95.0.515332752818.issue44043@roundup.psfhosted.org> |
2021-05-05 09:20:21 | christian.heimes | link | issue44043 messages |
2021-05-05 09:20:21 | christian.heimes | create | |
|