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 r.david.murray
Recipients r.david.murray, stein-k
Date 2018-01-05.20:52:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515185570.31.0.467229070634.issue32498@psf.upfronthosting.co.za>
In-reply-to
Content
If you read the traceback the message is "correct" for some definition of correct: the right hand side controls the type of the expression, so it is objecting to trying to look for the string '%' in a bytes object.

There are probably ways this could be improved, but I'm not sure it is worth it, since this is just a general behavior of the 'in' operator.
History
Date User Action Args
2018-01-05 20:52:50r.david.murraysetrecipients: + r.david.murray, stein-k
2018-01-05 20:52:50r.david.murraysetmessageid: <1515185570.31.0.467229070634.issue32498@psf.upfronthosting.co.za>
2018-01-05 20:52:50r.david.murraylinkissue32498 messages
2018-01-05 20:52:50r.david.murraycreate