[issue15783] decimal.localcontext(None) fails when using the C accelerator module

Ezio Melotti report at bugs.python.org
Sat Aug 25 17:04:17 CEST 2012


Ezio Melotti added the comment:

Can't this be fixed in the CONTEXT_CHECK_VA macro?
With the attached patch decimal.localcontext(None) works and there aren't any failures, however I don't think there are tests that pass None explicitly, so this approach might not work.

----------
keywords: +patch
nosy: +ezio.melotti
Added file: http://bugs.python.org/file26995/issue15783.diff

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


More information about the Python-bugs-list mailing list