[issue16422] Decimal constants should be the same for py & c module versions

Stefan Krah report at bugs.python.org
Tue Jan 15 13:32:00 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue16422>
_______________________________________


More information about the Python-bugs-list mailing list