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 py.user
Recipients py.user, r.david.murray
Date 2011-06-21.22:18:54
SpamBayes Score 1.1891799e-08
Marked as misclassified No
Message-id <1308694735.31.0.718850393156.issue12380@psf.upfronthosting.co.za>
In-reply-to
Content
all other methods support it and it's right

>>> barr = bytearray(b'abcd*')
>>> barr.center(len(barr) * 4, barr[-1:])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: must be a byte string of length 1, not bytearray
>>> b = b'abcd*'
>>> b.center(len(b) * 4, b[-1:])
b'*******abcd*********'
>>>
History
Date User Action Args
2011-06-21 22:18:55py.usersetrecipients: + py.user, r.david.murray
2011-06-21 22:18:55py.usersetmessageid: <1308694735.31.0.718850393156.issue12380@psf.upfronthosting.co.za>
2011-06-21 22:18:54py.userlinkissue12380 messages
2011-06-21 22:18:54py.usercreate