[Python-Dev] Re: pre-PEP: Unicode Security Considerations for Python

2021年11月01日 16:46:27 -0700

"The East Asian symbol for *ten* looks like a plus sign, so ``十= 10`` is a 
complete Python statement."
Normally, an identifier must begin with a letter, and numbers can only be used 
in the second and subsequent positions. (XID_CONTINUE instead of XID_START) 
The fact that some characters with numeric values are considered letters (in 
this case, category Lo, Other Letters) is a different problem than just looking 
visually confusable with "+", and it should probably be listed on its own.
-jJ
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/RV7RU7DGWFIBEGFKNYDP63ZRJNP5Y4YU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to