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 ncoghlan
Recipients georg.brandl, ncoghlan, skrah
Date 2012-08-25.15:01:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345906870.97.0.227338932494.issue15783@psf.upfronthosting.co.za>
In-reply-to
Content
While it's undocumented in the main docs [1], help(decimal.localcontext) in 3.2 starts with:

localcontext(ctx=None)
    Return a context manager for a copy of the supplied context

We essentially have two votes in favour of "it should work" (the pure Python impl and the docstring), and two in favour of "meh" (the prose docs and the lack of a test case)

I think we should fix it, but I don't mind if Georg wants it to wait until 3.3.1

[1] http://docs.python.org/py3k/library/decimal#decimal.localcontext
History
Date User Action Args
2012-08-25 15:01:11ncoghlansetrecipients: + ncoghlan, georg.brandl, skrah
2012-08-25 15:01:10ncoghlansetmessageid: <1345906870.97.0.227338932494.issue15783@psf.upfronthosting.co.za>
2012-08-25 15:01:10ncoghlanlinkissue15783 messages
2012-08-25 15:01:09ncoghlancreate