[Python-Dev] A Horrible Inconsistency
Aahz
aahz at pythoncraft.com
Sat May 27 13:02:28 CEST 2006
On Fri, May 26, 2006, Fredrik Lundh wrote:
>
> and while we're at it, let's fix this:
>
> >>> 0.66 * (1, 2, 3)
> (1, 2)
>
> and maybe even this
>
> >>> 0.5 * (1, 2, 3)
> (1, 1)
>
> but I guess the latter one might need a pronunciation.
This should certainly get fixed in 3.0 thanks to __index__
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"I saw `cout' being shifted "Hello world" times to the left and stopped
right there." --Steve Gonedes
More information about the Python-Dev
mailing list