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 josh.r
Recipients barry, ethan.furman, josh.r, martin.panter, ncoghlan, r.david.murray, serhiy.storchaka, terry.reedy
Date 2014-03-29.00:35:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Why would we need bytes.fill(length, value)? Is b'\xVV' * length (or if value is a variable containing int, bytes((value,)) * length) unreasonable? Similarly, bytearray(b'\xVV) * length or bytearray((value,)) * length is both Pythonic and performant. Most sequences support multiplication so simple stuff like this can be done easily and consistently; why invent a new approach unique to bytes/bytearrays?
Date User Action Args
2014-03-29 00:35:36josh.rsetrecipients: + josh.r, barry, terry.reedy, ncoghlan, r.david.murray, ethan.furman, martin.panter, serhiy.storchaka
2014-03-29 00:35:36josh.rsetmessageid: <>
2014-03-29 00:35:36josh.rlinkissue20895 messages
2014-03-29 00:35:36josh.rcreate