On 2 February 2018 at 08:23, Greg Ewing <[email protected]> wrote: > 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.
I wasn't even aware the restriction existed until this thread (it's one of those "I'd never tried it, so I didn't know it was prohibited" cases). Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
