On Tue, Nov 28, 2017 at 12:17 PM, Serhiy Storchaka <[email protected]> wrote:
> 28.11.17 21:45, Guido van Rossum пише: > >> These look like good improvements. I think you should make an issue on >> bugs.python.org <http://bugs.python.org> describing your proposal and if >> you can submit a PR that implements it. >> > > See https://bugs.python.org/issue31732 > > It was discussed and rejected. Citing Raymond: "Overall, this seems rehash > and second guess the discussions and decisions made 15 years ago when PEP > 282 was accepted." > > The set of logging levels is not closed. The user can extend it to cover > more specialized uses by logging.addLevelName(). There are disadvantages of > having too much standard names for logging levels (as we can see in Java). > OK, that's a reasonable discussion, let's not do this. Also I note that in my own usage, "note" comes below "warning", not above it. E.g. mypy has three levels for its end-user facing messages: error, warning, and note. (Note that mypy does not use the logging module -- but it would still feel odd to me to see "note" between warning and error rather than below warning.) -- --Guido van Rossum (python.org/~guido)
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
