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.

作者 ncoghlan
收信人 benjamin.peterson, lemburg, ncoghlan, serhiy.storchaka, vstinner
日期 2013-11-06.14:06:21
SpamBayes Score -1.0
Marked as misclassified
Message-id <1383746782.01.0.102999603203.issue17823@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2013-11-06 14:06:22ncoghlan修改recipients: + ncoghlan, lemburg, vstinner, benjamin.peterson, serhiy.storchaka
2013-11-06 14:06:22ncoghlan修改messageid: <1383746782.01.0.102999603203.issue17823@psf.upfronthosting.co.za>
2013-11-06 14:06:21ncoghlan链接issue17823 messages
2013-11-06 14:06:21ncoghlan创建