[Python-ideas] Format mini-language for lakh and crore

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 1 17:23:35 EST 2018


Nick Coghlan wrote:
> - "," would be short for ",3," with decimal digits
> - "_" would be short for "_3_" with decimal digits
> - "_" would be short for "_4_" with binary/octal/hexadecimal digits

Is it necessary to restrict "," to decimal? Why not make
"," and "_" orthogonal?

While "," with non-decimal might be rarely used, there would
be less special cases to remember.

-- 
Greg


More information about the Python-ideas mailing list