[issue2482] Decimal(unicode)
Facundo Batista
report at bugs.python.org
Tue Mar 25 16:51:09 CET 2008
Facundo Batista <facundo at taniquetil.com.ar> added the comment:
Decimal needs to grow something like the following near the top of the
module:
try:
_bytes = bytes
except NameError: # 2.5 or earlier
_bytes = str
and then use _bytes instead of str as appropriate throughout the rest of
the module.
This will solve the actual problem, and scales well with 2.6 and 3k.
----------
nosy: +facundobatista
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2482>
__________________________________
More information about the Python-bugs-list
mailing list