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 mark.dickinson
Recipients eajames, eric.smith, mark.dickinson, r.david.murray
Date 2016-09-02.14:46:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472827610.34.0.189724470983.issue27934@psf.upfronthosting.co.za>
In-reply-to
Content
> Nothing that can/should be done on the stdlib side, then.

I think there's nothing to do for 3.x: as far as I can tell, everything should be working exactly as desired there.

For 2.7, we may want to consider processing float instances using `float.__repr__` instead of plain old `repr`. I believe that would fix the OP's problem, and also bring the 2.7 behaviour more in line with the 3.x behaviour. It's a backwards incompatible behaviour change, but probably not a particularly disruptive one.
History
Date User Action Args
2016-09-02 14:46:50mark.dickinsonsetrecipients: + mark.dickinson, eric.smith, r.david.murray, eajames
2016-09-02 14:46:50mark.dickinsonsetmessageid: <1472827610.34.0.189724470983.issue27934@psf.upfronthosting.co.za>
2016-09-02 14:46:50mark.dickinsonlinkissue27934 messages
2016-09-02 14:46:50mark.dickinsoncreate