[issue23602] Implement __format__ for Fraction

Stefan Krah report at bugs.python.org
Tue Mar 31 18:55:57 CEST 2015


Stefan Krah added the comment:

> It wouldn't be too bad if Py and C version of Decimal.__format__ had
> same interface. What do you think?

Let's discuss that in a separate issue.


[DefaultContext]
> I don't understand what do you mean with this. Is this something that
> I'm doing wrong in my patch or just another (related?) issue?

Decimal.DefaultContext has global scope and currently affects
Context() creation, unless you specify all parameters.

----------

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


More information about the Python-bugs-list mailing list