[issue36519] Blake2b/s implementations have minor GIL issues

2019-04-03 Thread Christian Heimes
Christian Heimes added the comment: Thanks, I'll have a look. -- assignee: -> christian.heimes versions: +Python 3.6, Python 3.8 ___ Python tracker ___ __

[issue36519] Blake2b/s implementations have minor GIL issues

2019-04-03 Thread SilentGhost
Change by SilentGhost : -- nosy: +christian.heimes type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue36519] Blake2b/s implementations have minor GIL issues

2019-04-03 Thread George King
New submission from George King : I was browsing the Blake2b module implementation in master and noticed two subtle issues in blake2b_impl.c. There are two places where the GIL gets released; both of them appear flawed. py_blake2b_new_impl, line 221. The ALLOW_THREADS block fails to acquire/r