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 bsder
Recipients bsder
Date 2014-02-26.18:10:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393438215.16.0.542095625334.issue20783@psf.upfronthosting.co.za>
In-reply-to
Content
The byte array init fails when \x00 is present

This fails:
ggRAM = bytearray(RAM_SIZE_BYTES, '\x00'*RAM_SIZE_BYTES)

However, this works:
ggRAM = bytearray(RAM_SIZE_BYTES)
ggRAM[:] = '\x00'*RAM_SIZE_BYTES
History
Date User Action Args
2014-02-26 18:10:15bsdersetrecipients: + bsder
2014-02-26 18:10:15bsdersetmessageid: <1393438215.16.0.542095625334.issue20783@psf.upfronthosting.co.za>
2014-02-26 18:10:15bsderlinkissue20783 messages
2014-02-26 18:10:15bsdercreate