homepage

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 ncoghlan
Recipients Arfrever, Christian H, barry, belopolsky, eric.smith, gotgenes, gregory.p.smith, mrh1997, ncoghlan, vstinner
Date 2017年05月03日.13:19:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493817544.58.0.983199507986.issue22385@psf.upfronthosting.co.za>
In-reply-to
Content
Re-using an existing minilanguage to mean something completely different wouldn't be a good idea.
Whether or not we should add any bytes specific features for this at all is also still an open question, as one of the points raised in the latest python-ideas thread is that this may be better handled as a general purpose string splitting method that breaks the string up into fixed size units, which can then be rejoined with an arbitrary delimeter. For example:
 >>> digit_groups = b'\xb9\x01\xef'.hex().splitgroups(2)
 >>> ' '.join(digit_groups)
 'b9 01 ef'
History
Date User Action Args
2017年05月03日 13:19:04ncoghlansetrecipients: + ncoghlan, barry, gregory.p.smith, belopolsky, vstinner, eric.smith, gotgenes, Arfrever, Christian H, mrh1997
2017年05月03日 13:19:04ncoghlansetmessageid: <1493817544.58.0.983199507986.issue22385@psf.upfronthosting.co.za>
2017年05月03日 13:19:04ncoghlanlinkissue22385 messages
2017年05月03日 13:19:04ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /