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 alexandre.vassalotti
Recipients alexandre.vassalotti, r.david.murray, sh
Date 2009-11-24.17:42:49
SpamBayes Score 1.8306708e-09
Marked as misclassified No
Message-id <1259084571.26.0.924461089365.issue7382@psf.upfronthosting.co.za>
In-reply-to
Content
We just need make __getnewargs__ return bytes, instead of a unicode
string. So this is a single character fix.

I think we should reuse the ByteArraySubclass test case in test_bytes.py
to test for this bug. Incidentally, the reduce method of bytearray
should also be changed to emit bytes instead of a unicode string.
History
Date User Action Args
2009-11-24 17:42:51alexandre.vassalottisetrecipients: + alexandre.vassalotti, r.david.murray, sh
2009-11-24 17:42:51alexandre.vassalottisetmessageid: <1259084571.26.0.924461089365.issue7382@psf.upfronthosting.co.za>
2009-11-24 17:42:49alexandre.vassalottilinkissue7382 messages
2009-11-24 17:42:49alexandre.vassalotticreate