[Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)

Nick Coghlan ncoghlan at gmail.com
Sat Mar 19 09:22:46 EDT 2016


On 19 March 2016 at 16:44, Georg Brandl <g.brandl at gmx.net> wrote:
> On the other hand, assuming decimal literals are introduced at some
> point, they would almost definitely need to support underscores.
> Of course, the decision whether to modify the Decimal constructor
> can be postponed until that time.

The idea of Decimal literals is complicated significantly by their
current context dependent behaviour (especially when it comes to
rounding), so I'd suggest leaving them alone in the context of this
PEP.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list