harrismh777 wrote:
maybe the way to be really consistent (especially with the Zen of Python, explicit is better than implicit) that int --> float --> complex (imaginary) should not occur either !

Applying parts of the Zen selectively can be dangerous.
Practicality also beats purity. I've used a language
where there was no automatic promotion from ints to
floats, and it was a pain in the backside.

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to