This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith, joernheissler, ncoghlan, pmoody, prudvinit, serhiy.storchaka, xiang.zhang
Date 2018-09-11.01:01:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536627667.17.0.0269046726804.issue34465@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-09-11 01:01:07gregory.p.smithsetrecipients: + gregory.p.smith, ncoghlan, pmoody, serhiy.storchaka, xiang.zhang, joernheissler, prudvinit
2018-09-11 01:01:07gregory.p.smithsetmessageid: <1536627667.17.0.0269046726804.issue34465@psf.upfronthosting.co.za>
2018-09-11 01:01:07gregory.p.smithlinkissue34465 messages
2018-09-11 01:01:07gregory.p.smithcreate