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 flox
Recipients flox, vstinner
Date 2010-08-19.10:26:45
SpamBayes Score 0.034593303
Marked as misclassified No
Message-id <1282213607.7.0.490894114732.issue9636@psf.upfronthosting.co.za>
In-reply-to
Content
Various annoyances:

>>> some_set = {'oOO', b'oOO'}
BytesWarning: Comparison between bytes and string

>>> 'a' in {b'', ''}
BytesWarning: Comparison between bytes and string

>>> 'abc' in (b'def', 123)
BytesWarning: Comparison between bytes and string

>>> 'abc' in {b'abc', 123}
BytesWarning: Comparison between bytes and string

>>> {42: 'abc'} == {42: b'def'}
BytesWarning: Comparison between bytes and string
History
Date User Action Args
2010-08-19 10:26:47floxsetrecipients: + flox, vstinner
2010-08-19 10:26:47floxsetmessageid: <1282213607.7.0.490894114732.issue9636@psf.upfronthosting.co.za>
2010-08-19 10:26:45floxlinkissue9636 messages
2010-08-19 10:26:45floxcreate