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

Victor Stinner victor.stinner at gmail.com
Thu Jan 12 10:34:05 EST 2017


2017-01-12 13:13 GMT+01:00 Stephan Houben <stephanh42 at gmail.com>:
> Something like:
> from __syntax__ import decimal_literal

IMHO you can already implement that with a third party library, see for example:
https://github.com/lihaoyi/macropy

It also reminds me my PEP 511 which would open the gate for any kind
of Python preprocessor :-)
https://www.python.org/dev/peps/pep-0511/

Victor


More information about the Python-ideas mailing list