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

Mark Dickinson report at bugs.python.org
Tue Aug 28 22:43:14 CEST 2012


Mark Dickinson added the comment:

I don't really feel that strongly either way, either.  I understand Nick's arguments, but can't help feeling that we're letting a doc mistake dictate the API here.  (And my inner type-system has an aversion to APIs where arguments are expected to be *either* None or of type/interface XXX.)

So colour me -0 on changing cdecimal to allow the 'None' argument.

----------

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


More information about the Python-bugs-list mailing list