Message324696
pypy3 actually took over the terse exceptions, but without the conditions. They'd also need error codes from libmpdec now.
>>>> huge = Decimal('9' * 99)
>>>> huge.quantize(Decimal('0.1'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/stefan/tmp/pypy3-v6.0.0-linux64/lib_pypy/_decimal.py", line 842, in quantize
workctx._ctx, status_ptr)
File "/home/stefan/tmp/pypy3-v6.0.0-linux64/lib_pypy/_decimal.py", line 1631, in __exit__
self.context._add_status(status)
File "/home/stefan/tmp/pypy3-v6.0.0-linux64/lib_pypy/_decimal.py", line 1263, in _add_status
raise exception
decimal.InvalidOperation |
|
Date |
User |
Action |
Args |
2018-09-06 14:43:47 | skrah | set | recipients:
+ skrah, rhettinger, mark.dickinson, petr.viktorin, pekka.klarck |
2018-09-06 14:43:47 | skrah | set | messageid: <1536245027.74.0.56676864532.issue26208@psf.upfronthosting.co.za> |
2018-09-06 14:43:47 | skrah | link | issue26208 messages |
2018-09-06 14:43:47 | skrah | create | |
|