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 Damien George
Recipients Damien George
Date 2016-05-16.16:29:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463416188.61.0.0822560128487.issue27039@psf.upfronthosting.co.za>
In-reply-to
Content
The following code fails with a ValueError (but I expect it to succeed):

>>> bytearray([128]).remove(128)

Tested with Python 2.7.11 and 3.5.1.  Probably it's a case of comparing a char (signed byte) with an unsigned value.
History
Date User Action Args
2016-05-16 16:29:48Damien Georgesetrecipients: + Damien George
2016-05-16 16:29:48Damien Georgesetmessageid: <1463416188.61.0.0822560128487.issue27039@psf.upfronthosting.co.za>
2016-05-16 16:29:48Damien Georgelinkissue27039 messages
2016-05-16 16:29:48Damien Georgecreate