Author xiang.zhang
Recipients eric.smith, serhiy.storchaka, xiang.zhang
Date 2018-06-08.14:22:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528467739.87.0.592728768989.issue33669@psf.upfronthosting.co.za>
In-reply-to
Content
After reading PEP3101 and the archived mails, I think it's by design. Even if not, it might be too late to change.

I don't prefer either way, emitting warnings by compiler or linter. They can't give hints for runtime retrieved patterns, and not everyone turns on warning and uses linters.

I prefer using a customized string.Formatter, implementing my own `check_unused_args`, raising appropriate exceptions, and used it across my project instead of the default `str.format`. But there seems some problems with string.Formatter.
History
Date User Action Args
2018-06-08 14:22:19xiang.zhangsetrecipients: + xiang.zhang, eric.smith, serhiy.storchaka
2018-06-08 14:22:19xiang.zhangsetmessageid: <1528467739.87.0.592728768989.issue33669@psf.upfronthosting.co.za>
2018-06-08 14:22:19xiang.zhanglinkissue33669 messages
2018-06-08 14:22:19xiang.zhangcreate