Message292900
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' |
|
Date |
User |
Action |
Args |
2017-05-03 13:19:04 | ncoghlan | set | recipients:
+ ncoghlan, barry, gregory.p.smith, belopolsky, vstinner, eric.smith, gotgenes, Arfrever, Christian H, mrh1997 |
2017-05-03 13:19:04 | ncoghlan | set | messageid: <1493817544.58.0.983199507986.issue22385@psf.upfronthosting.co.za> |
2017-05-03 13:19:04 | ncoghlan | link | issue22385 messages |
2017-05-03 13:19:04 | ncoghlan | create | |
|