[issue9136] RuntimeError when profiling Decimal

Mark Dickinson report at bugs.python.org
Thu Jul 1 23:41:41 CEST 2010

Mark Dickinson <dickinsm at gmail.com> added the comment:

> ISTM, 2.5 compatible is probably good enough.

Okay;  that's fine with me.  Now we can finally turn that "from_float = classmethod(from_float)" into a proper "@classmethod" decorator.  :)

I also don't think that the 2.x-to-3.x maintenance issue is that big a deal any more;  it would be surprising if the 2.x version of Decimal sees anything more than minor changes (doc fixes, etc.) from this point on.  So perhaps the 3.x version of the decimal module should be free to make full use of 3.x syntax?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list