[issue7633] decimal.py: type conversion in context methods
Juan José Conti
report at bugs.python.org
Wed Jan 6 20:13:56 CET 2010
Juan José Conti <jjconti at gmail.com> added the comment:
New patch.
Fix Context.method that were returning NotImplemented.
Decimal.__methods__ don't use raiseit=True in _convert_other so I check in Context.method and raise TypeError if necessary.
Added tests for Context.divmod missed in first patch.
----------
Added file: http://bugs.python.org/file15760/issue7633_jjconti2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7633>
_______________________________________
More information about the Python-bugs-list
mailing list