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 <rep...@bugs.python.org>
<http://bugs.python.org/issue31225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to