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 terry.reedy
Recipients ezio.melotti, mrabarnett, terry.reedy
Date 2008-11-21.23:00:40
SpamBayes Score 0.0035168969
Marked as misclassified No
Message-id <1227308441.4.0.716367480361.issue4328@psf.upfronthosting.co.za>
In-reply-to
Content
| but then it works with:
| >>> b'f' in 'foo'
| True

Not True in 3.0rc3.  Same message as you quoted:
 'in <string>' requires string as left operand, not bytes

bytes + string fails too
History
Date User Action Args
2008-11-21 23:00:41terry.reedysetrecipients: + terry.reedy, ezio.melotti, mrabarnett
2008-11-21 23:00:41terry.reedysetmessageid: <1227308441.4.0.716367480361.issue4328@psf.upfronthosting.co.za>
2008-11-21 23:00:40terry.reedylinkissue4328 messages
2008-11-21 23:00:40terry.reedycreate