Message10092

Author ztane
Recipients ztane
Date 2015-05-31.11:30:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433071816.93.0.155169359715.issue2364@psf.upfronthosting.co.za>
In-reply-to
Content
bytearray uses `Character.is*` methods to do the various bytearray.isxxx methods. This is not compatible with the CPython behaviour; Jython bytearray tests imply latin-1 character encoding, whereas CPython exactly does 7-bit ASCII testing.

CPython 2.7.9:

    >>> bytearray('\xc0').isalpha()
    False

and Jython:

    >>> bytearray('\xc0').isalpha()
    True
History
Date User Action Args
2015-05-31 11:30:17ztanesetrecipients: + ztane
2015-05-31 11:30:16ztanesetmessageid: <1433071816.93.0.155169359715.issue2364@psf.upfronthosting.co.za>
2015-05-31 11:30:16ztanelinkissue2364 messages
2015-05-31 11:30:16ztanecreate