Message319068
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. |
|
Date |
User |
Action |
Args |
2018-06-08 14:22:19 | xiang.zhang | set | recipients:
+ xiang.zhang, eric.smith, serhiy.storchaka |
2018-06-08 14:22:19 | xiang.zhang | set | messageid: <1528467739.87.0.592728768989.issue33669@psf.upfronthosting.co.za> |
2018-06-08 14:22:19 | xiang.zhang | link | issue33669 messages |
2018-06-08 14:22:19 | xiang.zhang | create | |
|