[Python-ideas] Revisiting dedicated overloadable boolean operators
David Mertz
mertz at gnosis.cx
Sat Aug 4 14:03:05 EDT 2018
On Sat, Aug 4, 2018, 1:24 PM Steven D'Aprano <steve at pearwood.info> wrote:
> If you think the uproar over PEP 572 was vicious, imagine what would
> happen if we introduced new operators like ∉ ∥ ∢ ∽ ⊎ etc instead.
>
> - keyboard support for entering the bulk of Unicode characters is
> non-existent or poor;
>
> - without keyboard support, editor support for entering Unicode
> characters is as best clunky, requiring the memorization of
> obscure names, hex codes, or a GUI palette;
>
This is the essential problem. I write this as someone who has the vim
conceal plugin configured to change my Python code into something with many
of those funny characters Steven users as examples.
But while I like looking at those, although recognizing it's quirky,
entering any of them is enormously cumbersome. I did it once to configure
my substitution macros (which are purely visual... What I type in is just
ASCII and that's what is saved in soak, but it appears on screen with some
replacements).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180804/ecfa3e4a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FB_IMG_1533405332279.jpg
Type: image/jpeg
Size: 46585 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180804/ecfa3e4a/attachment-0001.jpg>
More information about the Python-ideas
mailing list