Message169139
| 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:11 | ncoghlan | set | recipients:
+ ncoghlan, georg.brandl, skrah |
| 2012年08月25日 15:01:10 | ncoghlan | set | messageid: <1345906870.97.0.227338932494.issue15783@psf.upfronthosting.co.za> |
| 2012年08月25日 15:01:10 | ncoghlan | link | issue15783 messages |
| 2012年08月25日 15:01:09 | ncoghlan | create |
|