21.11.17 22:03, Stephan Houben пише:
If anybody is still worried about this,
here is a 29-line proof-of-concept code checker which warns if your source file
contains identifiers which are different but look the same.

https://gist.github.com/stephanh42/61eceadc2890cf1b53ada5e48ef98ad1

Ha! I wanted to look at a 29-line code that is able to detect all homoglyphs. But actually it just imports a third-party module. :-(

In any case this is a nice code.

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to