homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients ezio.melotti, georg.brandl, ncoghlan, skrah
Date 2012年08月25日.15:56:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120825155638.GA9765@sleipnir.bytereef.org>
In-reply-to <1345906870.97.0.227338932494.issue15783@psf.upfronthosting.co.za>
Content
OK, but for example:
Help on function __truediv__ in module decimal:
__truediv__(self, other, context=None)
 Return self / other.
Here I think it's undisputed that a C version should not cram a context
argument into a number method. There are many functions in decimal where
some arguments are just implementation details, or worse, leftovers
(see #10650).
So I simply don't know if localcontext(None) was intended or (once)
an implementation detail.
localcontext(None) by itself looks kind of awkward to me. The only valid
use case I can see is indeed the one from #15136.
I don't particularly mind either way for localcontext(), but in more
speed sensitive areas I would care.
History
Date User Action Args
2012年08月25日 15:56:38skrahsetrecipients: + skrah, georg.brandl, ncoghlan, ezio.melotti
2012年08月25日 15:56:38skrahlinkissue15783 messages
2012年08月25日 15:56:37skrahcreate

AltStyle によって変換されたページ (->オリジナル) /