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.

classification
Title: Patch for thread-support in md5module.c
Type: performance Stage: patch review
Components: Extension Modules Versions: Python 3.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, ebfe, gregory.p.smith, jcea, loewis
Priority: normal Keywords: patch

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:43adminsetgithub: 49068
2012-10-06 23:44:01christian.heimessetversions: + Python 3.4
nosy: + christian.heimes

components: + Extension Modules
type: performance
stage: patch review
2009-02-12 07:39:23gregory.p.smithsetnosy: + gregory.p.smith
messages: + msg81727
2009-01-29 11:28:36jceasetnosy: + jcea
2009-01-03 14:44:29ebfesetfiles: - md5module_small_locks.diff
2009-01-03 14:44:24ebfesetfiles: + md5module_small_locks-2.diff
messages: + msg78963
2009-01-03 13:03:41ebfesetmessages: + msg78954
2009-01-03 12:14:25loewissetnosy: + loewis
messages: + msg78950
2009-01-03 11:23:59ebfecreate