[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)
Stefan Krah
report at bugs.python.org
Mon Mar 30 16:42:46 CEST 2015
Stefan Krah added the comment:
I think we should try to avoid depending on global state in
the stdlib, at least in new code. Also, if something is not
really a decimal computation, Decimal itself tries to ignore
the context (like Decimal.__repr__).
At least I would expect this datetime function to be context
independent.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23607>
_______________________________________
More information about the Python-bugs-list
mailing list