Gregory P. Smith <g...@krypto.org> added the comment:

This isn't limited to just IPv4Address, the Network classes and the IPv6 
classes that accept bytes should also be updated for consistency if we're going 
to do this.

(bytes, bytearray, memoryview) make sense to support, and explicitly test in 
unittests.

Until then, the workaround is to call bytes on the relevant slice of those.

----------
nosy: +gregory.p.smith

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

Reply via email to