Shreyan Avigyan <shreyan.avig...@gmail.com> added the comment:
I agree with you. It would be nice to have a function to list or dictionary of level names. Moreover I suggest that there should be an argument to the function like format_level which can take in "dict:level_name" for returning a dictionary with the level as keys and name as values, "dict:name_level" for returning a dictionary with the name as keys and level as values or "list" for returning just the list of level names ordered by priority. ---------- nosy: +shreyanavigyan _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com