> On 10 Nov 2019, at 02:22, Artemis <hollyshor...@gmail.com> wrote:
>
> What should one do when one wants to put a zero width space or other
> invisible character in code?
> These are often not displayed in editors, which can lead to confusion. I see
> two solutions:
> - include it but add a comment noting it
> - use the chr function to get the character (and add a comment saying what it
> is)
> Where should a guideline for this go (PEP 8?)? What should the guideline be
> (one of these or something else?)?
In my opinion the best way is '\N{ZERO WIDTH SPACE}'
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/GB7W2PP3KRGU6HNNPVU52BDN43I3M5Q2/
Code of Conduct: http://python.org/psf/codeofconduct/