PEP0238 lament

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Jul 24 13:59:57 EDT 2001


Tue, 24 Jul 2001 17:10:40 GMT, Grant Edwards <grante at visi.com> pisze:

>>as long as a literal is an expression with type independent
>>from the context. This implies that implicit conversions from
>>int to float and rational are unavoidable in Python.
> 
> Why?

Because you can't express operations like "add one", "multiply by ten"
or "take the reciprocal (when complex numbers are considered too)".

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list