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/2002-July/027002.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c,2.171,2.172

[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c,2.171,2.172Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 29 Jul 2002 14:13:23 +1200 (NZST)
Neal Norwitz <neal@metaslash.com>:

> The intent was to convert an int/long to a double in the case of
> '%g' et al and from a double to an int in the case of '%d'.

Are you sure the latter part of that is a good idea?  As a general
principle, I don't think float->int conversions should be done
automatically. What is the Python philosophy on that?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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