Terry Reedy wrote:
> But if you mean for Number to be like a float
> rather than int, do as you are (with / and __truediv__).
>
Or even __rtruediv__
--
Duncan Booth http://kupuguy.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On 1/23/2012 12:22 AM, Massimo Di Pierro wrote:
Hello everybody,
I hope somebody could help me with this problem. If this is not the right place
to ask, please direct me to the right place and apologies.
I am using Python 2.7 and I am writing some code I want to work on 3.x as well.
The proble
Thank you. I tried __rtruediv__ and it works.
On Jan 23, 2012, at 12:14 AM, Ian Kelly wrote:
> On Sun, Jan 22, 2012 at 10:22 PM, Massimo Di Pierro
> wrote:
> Hello everybody,
>
> I hope somebody could help me with this problem. If this is not the right
> place to ask, please direct me to the
On Sun, Jan 22, 2012 at 10:22 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Hello everybody,
>
> I hope somebody could help me with this problem. If this is not the right
> place to ask, please direct me to the right place and apologies.
> I am using Python 2.7 and I am writing some
Hello everybody,
I hope somebody could help me with this problem. If this is not the right place
to ask, please direct me to the right place and apologies.
I am using Python 2.7 and I am writing some code I want to work on 3.x as well.
The problem can be reproduced with this code:
# from __futu