◐ Shell
clean mode source ↗

Message 64689 - Python tracker

Thanks for asking. This should not go into the collections module.

The concept makes more sense in statically compiled languages.  In 
Python, we typically write something like "RED, ORANGE, YELLOW = range
(3)" at the module level.  That is faster and still allows prefixing 
using the module name (for example, re.MULTILINE).