Message174969
Thanks Thanks Thanks Thanks Thanks Thanks Thanks you very much,
You are going to go to heaven with your shoes included.
Best regards and have a nice year end.
Rosa María
"Cuídate de la Ciencia que no Llora, de la Filosofía que no Ríe y de la Grandeza que no se inclina ante los niños"
"Madre es el nombre de dios en los labios y en los corazones de todos los niños"
>________________________________
> De: R. David Murray <report@bugs.python.org>
>Para: rosemeer@yahoo.com.mx
>Enviado: Lunes, 5 de noviembre, 2012 17:17:35
>Asunto: [issue16417] Integer converted in tuple without request
>
>
>R. David Murray added the comment:
>
>You did request a tuple:
>
> r = a - q * b,
>
>That is equivalent to
>
> r = (a - q * b,)
>
>which is a single element tuple.
>
>I had to put in some print statements in your loop to find that, it wasn't obvious. This is perhaps a disadvantage of Python's tuple notation, but the benefits of the notation outweigh this small disadvantage, I think.
>
>----------
>nosy: +r.david.murray
>resolution: -> invalid
>stage: -> committed/rejected
>status: open -> closed
>type: crash -> behavior
>
>_______________________________________
>Python tracker <report@bugs.python.org>
><http://bugs.python.org/issue16417>
>_______________________________________
>
>
> |
|
Date |
User |
Action |
Args |
2012-11-06 14:53:45 | Gravitania | set | recipients:
+ Gravitania, r.david.murray |
2012-11-06 14:53:45 | Gravitania | link | issue16417 messages |
2012-11-06 14:53:45 | Gravitania | create | |
|