[New-bugs-announce] [issue31225] allow hashlib `update' to accept str
ksqsf
report at bugs.python.org
Thu Aug 17 06:59:35 EDT 2017
New submission from ksqsf:
It'll be nice if `update' can accept str directly, rather than str.encode first.
One of the most common use cases is "m.update(s.encode())", so it shouldn't make a big difference to just use "m.update(s)"; after all, users who want to specify encoding explicitly can still do so.
----------
components: Library (Lib)
messages: 300406
nosy: ksqsf
priority: normal
severity: normal
status: open
title: allow hashlib `update' to accept str
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31225>
_______________________________________
More information about the New-bugs-announce
mailing list