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: [EASY Doc] Typo in hashlib error message
Type: Stage: resolved
Components: Documentation Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eamanu, matrixise, miss-islington, vstinner
Priority: normal Keywords: easy, patch

Created on 2019-03-06 11:06 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12194 merged eamanu, 2019-03-06 12:12
PR 12196 merged miss-islington, 2019-03-06 14:35
Messages (5)
msg337290 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-06 11:06
Seen on a custom builder:

BUILDSTDERR: ======================================================================
BUILDSTDERR: ERROR: test_scrypt (test.test_hashlib.KDFTests)
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/builddir/build/BUILD/Python-3.7.2/Lib/test/test_hashlib.py", line 942, in test_scrypt
BUILDSTDERR:     result = hashlib.scrypt(password, salt=salt, n=n, r=r, p=p)
BUILDSTDERR: ValueError: Invalid paramemter combination for n, r, p, maxmem.

There is a typo in "paramemter".
msg337296 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-03-06 12:16
Thank you @eamanu.
msg337306 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-06 14:35
New changeset b71e28ea91259ca3914e2ff84fc126795ea6b848 by Victor Stinner (Emmanuel Arias) in branch 'master':
bpo-36209: Fix typo on hashlib error message (GH-12194)
https://github.com/python/cpython/commit/b71e28ea91259ca3914e2ff84fc126795ea6b848
msg337311 - (view) Author: miss-islington (miss-islington) Date: 2019-03-06 14:54
New changeset 42c649347a11789666c461ecbd3bdca27b957c9b by Miss Islington (bot) in branch '3.7':
bpo-36209: Fix typo on hashlib error message (GH-12194)
https://github.com/python/cpython/commit/42c649347a11789666c461ecbd3bdca27b957c9b
msg337312 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-06 14:57
Thanks Emmanuel Arias.
History
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80390
2019-03-06 14:57:53vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg337312

stage: patch review -> resolved
2019-03-06 14:54:58miss-islingtonsetnosy: + miss-islington
messages: + msg337311
2019-03-06 14:35:51miss-islingtonsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12192
2019-03-06 14:35:42vstinnersetmessages: + msg337306
2019-03-06 12:16:37eamanusetnosy: + eamanu
2019-03-06 12:16:02matrixisesetnosy: + matrixise
messages: + msg337296

keywords: - patch
stage: patch review -> (no value)
2019-03-06 12:12:51eamanusetkeywords: + patch
stage: patch review
pull_requests: + pull_request12190
2019-03-06 11:06:29vstinnercreate