
Should decimal be the default for floating period literals? E.g. 1.2 would actually be decimal.Decimal("1.2") and float(1.2) would be used to get traditional binary float point.

On Tue, May 13, 2008 at 6:52 AM, Joshua Spoerri <joshua.spoerri@gmail.com> wrote:
Not in 3.0, there are too many things that are subtly different. Perhaps at some point post 3.0 we can invent a mechanism whereby modules can enable this feature on a per-module basis, and then some number of revisions later we can change the default. -- --Guido van Rossum (home page: http://www.python.org/~guido/)

On 13/05/2008, at 11:04, Guido van Rossum wrote:
I would be happier with a d in front of the number following the scheme of raw strings, either to mean Decimal or to mean Double, or maybe f. This way things would work for both cientists and the rest of the users. -- Leonardo Santagada

On Tue, May 13, 2008 at 6:52 AM, Joshua Spoerri <joshua.spoerri@gmail.com> wrote:
Not in 3.0, there are too many things that are subtly different. Perhaps at some point post 3.0 we can invent a mechanism whereby modules can enable this feature on a per-module basis, and then some number of revisions later we can change the default. -- --Guido van Rossum (home page: http://www.python.org/~guido/)

On 13/05/2008, at 11:04, Guido van Rossum wrote:
I would be happier with a d in front of the number following the scheme of raw strings, either to mean Decimal or to mean Double, or maybe f. This way things would work for both cientists and the rest of the users. -- Leonardo Santagada
participants (4)
-
George Sakkis
-
Guido van Rossum
-
Joshua Spoerri
-
Leonardo Santagada