[Python-ideas] Settable defaulting to decimal instead of float

Victor Stinner victor.stinner at gmail.com
Thu Jan 12 05:28:33 EST 2017


George requested this feature on the bug tracker:
http://bugs.python.org/issue29223

George was asked to start a discusson on this list. I posted the
following comment before closing the issue:

You are not the first one to propose the idea.

2012: "make decimal the default non-integer instead of float?"
https://mail.python.org/pipermail/python-ideas/2012-September/016250.html

2014: "Python Numbers as Human Concept Decimal System"
https://mail.python.org/pipermail/python-ideas/2014-March/026436.html


Related discussions:

2008: "Decimal literal?"
https://mail.python.org/pipermail/python-ideas/2008-December/002379.html

2015: "Python Float Update"
https://mail.python.org/pipermail/python-ideas/2015-June/033787.html

PEP 240 "Adding a Rational Literal to Python".

Victor


More information about the Python-ideas mailing list