On 2 February 2018 at 08:23, Greg Ewing <greg.ew...@canterbury.ac.nz> 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 | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/