A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003172.html below:

[Python-Dev] re: division

[Python-Dev] re: division [Python-Dev] re: divisionChristopher Petrilli petrilli@amber.org
Wed, 5 Apr 2000 23:16:28 -0400
Tim Peters [tim_one@email.msn.com] wrote:
> [Greg Ward]
> > ...
> > In other words:
> > 
> >   5 div 3 = 5.__div__(3)  = operator.div(5,3)  = 1
> >   5 / 3   = 5.__fdiv__(3) = operator.fdiv(5,3) = 1.6666667
> > 
> > (where I have used artistic license in applying __div__ to actual
> > numbers -- you know what I mean).
> 
> +1 from me provided you can sneak the new keyword past Guido <1/3 wink>.

+1 from me as well.  I spent a little time going through all my code,
and looking through Zope as well, and I couldn't find any place I used 
'div' as a variable, much less any place I depended on this behaviour, 
so I don't think my code would break in any odd ways.

The only thing I can imagine is some printed text formatting issues.

Chris
-- 
| Christopher Petrilli
| petrilli@amber.org



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4