Roundup Robot added the comment:
New changeset 3f73c44b1fd1 by Benjamin Peterson in branch '2.7':
PEP 466: backport hashlib algorithm constants (closes #21307)
http://hg.python.org/cpython/rev/3f73c44b1fd1
--
nosy: +python-dev
resolution: - fixed
stage: needs patch - resolved
status:
Donald Stufft added the comment:
This Look good to me. +1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21307
___
___
Python-bugs-list mailing
Alex Gaynor added the comment:
Uploaded patch adds the algorithm availability constants to the hashlib module.
--
components: +Extension Modules
keywords: +needs review, patch
Added file: http://bugs.python.org/file36436/backport-hashlib.diff
___
Gregory P. Smith added the comment:
use a frozenset for algorithms_guaranteed.
in the docs under more algor... may be available make the two variables
link to their docs. you might explicitly mention python 2.7.9 in that
paragraph.
you probably should use pystring_fromstring imstead of
Alex Gaynor added the comment:
New patch uses PyString_FromString.
To the other two points:
1) Python3 uses a mutable set for both of these, any reason for Python2 to be
inconsistent?
2) The docs in Python3 don't have this link either, I'm trying to minimize the
delta; if you think there
Gregory P. Smith added the comment:
Keeping the delta small makes sense. I'd use frozenset in 3 as well but its
unimportant. LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21307
___
New submission from Nick Coghlan:
Tracker issue for the hashlib PBKDF2 and algorithm availability details
backport to 2.7 described in PEP 466.
--
messages: 216827
nosy: alex, benjamin.peterson, christian.heimes, dstufft, giampaolo.rodola,
janssen, ncoghlan, pitrou
priority: normal
Alex Gaynor added the comment:
issue21304 has the implementation of the PBKDF2 work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21307
___
Benjamin Peterson added the comment:
Let's dup this then.
--
resolution: - duplicate
status: open - closed
superseder: - Backport hashlib.pbkdf2_hmac to Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21307
Benjamin Peterson added the comment:
Rather #21304 should be a dep...
--
dependencies: +Backport hashlib.pbkdf2_hmac to Python 2.7
resolution: duplicate -
status: closed - open
superseder: Backport hashlib.pbkdf2_hmac to Python 2.7 -
___
Python
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21307
___
___
11 matches
Mail list logo