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 Arfrever, Christian H, barry, belopolsky, eric.smith, gotgenes, gregory.p.smith, ncoghlan, vstinner
Date 2017-05-01.16:27:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493656031.25.0.635835408601.issue22385@psf.upfronthosting.co.za>
In-reply-to
Content
Based on the ideas thread it isn't obvious that chunk size means "per byte".  I suggest either specifying the number of base digits per delimiter.  Or using a name other than chunk that indicates it means bytes.

If we're going to do this, it should also be done for octal formatting (the 'o' code) for consistency.

Also, per the python-ideas thread, via parameters to the .hex() method on bytes/bytearray/memoryview.

I'm inclined to leave 'A' printable-ascii formatting out.  Or at least consider that it could also work on unicode str.
History
Date User Action Args
2017-05-01 16:27:11gregory.p.smithsetrecipients: + gregory.p.smith, barry, ncoghlan, belopolsky, vstinner, eric.smith, gotgenes, Arfrever, Christian H
2017-05-01 16:27:11gregory.p.smithsetmessageid: <1493656031.25.0.635835408601.issue22385@psf.upfronthosting.co.za>
2017-05-01 16:27:11gregory.p.smithlinkissue22385 messages
2017-05-01 16:27:11gregory.p.smithcreate