Stefan Krah added the comment:

In the absence of an enum type, string constants are nicer to read in
the REPL, so here's a patch. Translating between strings and ints is
fast if you use the module constants.

----------
keywords: +patch
Added file: http://bugs.python.org/file28736/issue16422.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16422>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to