Python 3 and PEP238 division

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Tue Mar 18 08:26:15 EDT 2008


On Tue, 18 Mar 2008 04:47:49 -0700, Ninereeds wrote:

> On Mar 17, 7:26 pm, "Terry Reedy" <tjre... at udel.edu> wrote:
>> 2.6, I have read, have optional 'Py3' warnings, and a 2to3 conversion
>> program
> 
> The tools can work out the *intent* of any particular division
> operator? Can work out whether the result should be integer or float,
> independent of any particular set of arguments? Seems unlikely.

The interpreter can at least print out warnings when a "normal" division
operator is called with two `int`\s at runtime.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list