Message274246
Thanks Mark, yes you installed the right package.
OK I didn't dig deep enough in the sub class. And yea, there shouldn't be any difference between float.__repr__ and float.__str__. Obviously repr calls the object's tp_repr method, while float.__repr__ calls the base float method, which is the one we want.
I didn't do any testing for python 3.x as I couldn't figure out how to import dbus into a local build of 3.x. My mistake here.
> For 2.7, we may want to consider processing float instances using `float.__repr__` instead of plain old `repr`
That should work! I'll upload a new patch for 2.7 |
|
Date |
User |
Action |
Args |
2016-09-02 14:56:29 | eajames | set | recipients:
+ eajames, mark.dickinson, eric.smith, r.david.murray |
2016-09-02 14:56:29 | eajames | set | messageid: <1472828189.91.0.0469973142334.issue27934@psf.upfronthosting.co.za> |
2016-09-02 14:56:29 | eajames | link | issue27934 messages |
2016-09-02 14:56:29 | eajames | create | |
|