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

Nick Coghlan report at bugs.python.org
Sat Aug 25 16:24:43 CEST 2012


New submission from Nick Coghlan:

decimal.localcontext() works correctly with both the pure Python decimal module and the C accelerator.

decimal.localcontext(None) only works with the pure Python version. The C accelerator throws an exception instead of treating it as equivalent to omitting the argument.

----------
keywords: 3.3regression
messages: 169135
nosy: ncoghlan, skrah
priority: normal
severity: normal
stage: test needed
status: open
title: decimal.localcontext(None) fails when using the C accelerator module
type: behavior
versions: Python 3.3

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


More information about the Python-bugs-list mailing list