Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

I don't see a bug here.  As documented, "a str, bytes, or bytearray object gets 
converted to an int and all of its bits are used."  The various input types are 
converted to an integer and it doesn't really matter how it is done as long as 
it is consistent.  FWIW, the docs link to the source code so it can be examined 
if needed.

----------
assignee:  -> rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to