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 ncoghlan
Recipients benjamin.peterson, lemburg, ncoghlan, serhiy.storchaka, vstinner
Date 2013-11-06.14:06:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached diff shows a proof of concept fixer for the encode case.

It could be adjusted fairly easily to also handle decode methods (by including an alternative in the pattern and also capturing the method name)

I'm sure how useful such a fixer would be in practice, though, since it only triggers when the codec name is passed as a literal - passing in a variable instead keeps it from firing.
Date User Action Args
2013-11-06 14:06:22ncoghlansetrecipients: + ncoghlan, lemburg, vstinner, benjamin.peterson, serhiy.storchaka
2013-11-06 14:06:22ncoghlansetmessageid: <>
2013-11-06 14:06:21ncoghlanlinkissue17823 messages
2013-11-06 14:06:21ncoghlancreate