[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

Stefan Krah report at bugs.python.org
Mon Mar 30 13:55:17 CEST 2015


Stefan Krah added the comment:

I just looked at this very briefly: Is the patch context insensitive?

IOW, do things still work if you change the thread-local context:

from decimal import *
c = getcontext()
c.prec = 1
c.Emax = 1
c.Emin = -1

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23607>
_______________________________________


More information about the Python-bugs-list mailing list