On Sat, May 28, 2022 at 12:11 MRAB

Names in Python are case-sensitive, yet the string prefixes are
> case-/insensitive/.
>
> Why?


IIRC we copied this from C for numeric suffixes  (0l and 0L are the same;
also hex digits and presumably 0XA == 0xa) and then copied that for string
prefixes without thinking about it much. I guess it’s too late to change.

—Guido
-- 
--Guido (mobile)
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/27HLMPDURSAN2YCTFWN6LETWQNY4POX7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to