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 abacabadabacaba
Recipients abacabadabacaba, ezio.melotti, loewis, pitrou
Date 2010-04-16.07:27:12
SpamBayes Score 5.968629e-07
Marked as misclassified No
Message-id <1271402835.02.0.20469095666.issue8401@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-04-16 07:27:16abacabadabacabasetrecipients: + abacabadabacaba, loewis, pitrou, ezio.melotti
2010-04-16 07:27:15abacabadabacabasetmessageid: <1271402835.02.0.20469095666.issue8401@psf.upfronthosting.co.za>
2010-04-16 07:27:12abacabadabacabalinkissue8401 messages
2010-04-16 07:27:12abacabadabacabacreate