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.

Author shreyanavigyan
Recipients andylowry, shreyanavigyan
Date 2021-04-15.18:13:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618510385.39.0.62724970342.issue43858@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-04-15 18:13:05shreyanavigyansetrecipients: + shreyanavigyan, andylowry
2021-04-15 18:13:05shreyanavigyansetmessageid: <1618510385.39.0.62724970342.issue43858@roundup.psfhosted.org>
2021-04-15 18:13:05shreyanavigyanlinkissue43858 messages
2021-04-15 18:13:05shreyanavigyancreate