Message112088
| Author |
mark.dickinson |
| Recipients |
eric.smith, mark.dickinson |
| Date |
2010年07月30日.17:27:37 |
| SpamBayes Score |
0.0048663914 |
| Marked as misclassified |
No |
| Message-id |
<1280510859.84.0.0996916259805.issue9337@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Alexander Belopolsky pointed out another nice aspect of this change: after the change, let 'numerictype' be any of int, float, complex, Decimal or Fraction, and let 'x' be an instance of numerictype. Then
numerictype(str(x))
recovers x exactly.
See also additional discussion at:
http://mail.python.org/pipermail/python-dev/2010-July/102515.html
The consensus (so far) seems to be in favour of this change. I'll leave it a few more days in case people haven't seen the python-dev thread yet, and then assuming that there's no dissent I'll commit. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月30日 17:27:40 | mark.dickinson | set | recipients:
+ mark.dickinson, eric.smith |
| 2010年07月30日 17:27:39 | mark.dickinson | set | messageid: <1280510859.84.0.0996916259805.issue9337@psf.upfronthosting.co.za> |
| 2010年07月30日 17:27:38 | mark.dickinson | link | issue9337 messages |
| 2010年07月30日 17:27:37 | mark.dickinson | create |
|