Message103306
__doc__ of bytearray says:
> bytearray(iterable_of_ints) -> bytearray
> bytearray(string, encoding[, errors]) -> bytearray
> bytearray(bytes_or_bytearray) -> mutable copy of bytes_or_bytearray
> bytearray(memory_view) -> bytearray
So, unless an encoding is given, empty string should be interpreted as an iterable of ints. BTW, documentation and docstring should be made consistent with each other. |
|
Date |
User |
Action |
Args |
2010-04-16 08:51:58 | abacabadabacaba | set | recipients:
+ abacabadabacaba, loewis, pitrou, ezio.melotti |
2010-04-16 08:51:55 | abacabadabacaba | set | messageid: <1271407915.62.0.885502444709.issue8401@psf.upfronthosting.co.za> |
2010-04-16 08:51:54 | abacabadabacaba | link | issue8401 messages |
2010-04-16 08:51:52 | abacabadabacaba | create | |
|