New submission from Daan Bakker: The documentation for pbkdf2_hmac at https://docs.python.org/3/library/hashlib.html uses the "rounds" keyword:
hashlib.pbkdf2_hmac(name, password, salt, rounds, dklen=None) However, the actual source code uses "iterations". No-one has probably noticed it before because no error is raised if the number of iterations is given as a positional argument. ---------- assignee: docs@python components: Documentation files: pbkdf2_4.patch keywords: patch messages: 260490 nosy: dbakker, docs@python priority: normal severity: normal status: open title: hashlib's pbkdf2_hmac documentation "rounds" does not match source type: enhancement versions: Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file41963/pbkdf2_4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26390> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com