Message103298
Empty string is an iterable of integers in the range 0 <= x < 256, so it should be allowed.
>>> all(isinstance(x, int) and 0 <= x < 256 for x in "")
True
>>> bytearray()[:] = ""
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: string argument without an encoding |
|
Date |
User |
Action |
Args |
2010-04-16 07:27:16 | abacabadabacaba | set | recipients:
+ abacabadabacaba, loewis, pitrou, ezio.melotti |
2010-04-16 07:27:15 | abacabadabacaba | set | messageid: <1271402835.02.0.20469095666.issue8401@psf.upfronthosting.co.za> |
2010-04-16 07:27:12 | abacabadabacaba | link | issue8401 messages |
2010-04-16 07:27:12 | abacabadabacaba | create | |
|