Message112088
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. |
|
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 | |
|