Issue 4818: Patch for thread-support in md5module.c (original) (raw)

Created on 2009-01-03 11:23 by ebfe, last changed 2022-04-11 14:56 by admin.

Files
File name Uploaded Description Edit
md5module_small_locks-2.diff ebfe,2009-01-03 14:44
Messages (5)
msg78947 - (view) Author: Lukas Lueg (ebfe) Date: 2009-01-03 11:23
Here is another patch, this time for the fallback-md5-module. I know that situations are rare where openssl is not present but threading is. However they might occur out there and the md5module needed some love anyway: - The MD5 class from the fallback module can now also use threads with 'small locks' - The behaviour regarding unicode data input is now consistent as to what the openssl-driven classes do. - Some code cleanup. I might act on the sha modules as way the next days. sha256.c still accepts 's#'... Also see issue #4751
msg78950 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-01-03 12:14
ebfe, please identify yourself with a real name; please also sign a contributor form.
msg78954 - (view) Author: Lukas Lueg (ebfe) Date: 2009-01-03 13:03
Sent the form by fax
msg78963 - (view) Author: Lukas Lueg (ebfe) Date: 2009-01-03 14:44
fixed naming, lock get's tried before releasing the gil to wait for it
msg81727 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2009-02-12 07:39
fyi - I took care of the unicode data acceptance issue for all hashlib related modules in the py3k branch in r69524.
History
Date User Action Args
2022-04-11 14:56:43 admin set github: 49068
2012-10-06 23:44:01 christian.heimes set versions: + Python 3.4nosy: + christian.heimescomponents: + Extension Modulestype: performancestage: patch review
2009-02-12 07:39:23 gregory.p.smith set nosy: + gregory.p.smithmessages: +
2009-01-29 11:28:36 jcea set nosy: + jcea
2009-01-03 14:44:29 ebfe set files: - md5module_small_locks.diff
2009-01-03 14:44:24 ebfe set files: + md5module_small_locks-2.diffmessages: +
2009-01-03 13:03:41 ebfe set messages: +
2009-01-03 12:14:25 loewis set nosy: + loewismessages: +
2009-01-03 11:23:59 ebfe create