Re: walrus with a twist :+= or ...

2021-10-29 Thread Peter J. Holzer
On 2021-10-28 19:48:06 -0400, Avi Gross via Python-list wrote: > My right ALT key now lets me type in all kinds of nonsense like ⑦ and > © and ß and ℵ0 and ⅔ and ≠ and ⇒ and ♬and although :- makes ÷ I see > := makes ≔ which is just a longer equals sign. Ah, yes. That's another problem with using

Re: walrus with a twist :+= or ...

2021-10-28 Thread Grant Edwards
On 2021-10-28, Avi Gross via Python-list wrote: > I see := makes ≔ which is just a longer equals sign. On my screen it's an assignment operator that looks like := only a bit smaller. > Not sure this mailing list allows this stuff, so if your mailer does > not show it, never mind. Everything re

RE: walrus with a twist :+= or ...

2021-10-28 Thread Avi Gross via Python-list
, that should do even on standard keyboards. ∴ -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Thursday, October 28, 2021 3:24 PM To: Python Subject: Re: walrus with a twist :+= or ... On Fri, Oct 29, 2021 at 5:53 AM Avi Gross via Python-list wrote: > Is ther

Re: walrus with a twist :+= or ...

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 5:53 AM Avi Gross via Python-list wrote: > Is there a reasonable extension to a keyboard that might be reasonable, > perhaps with an accommodation to those without such a keyboard so that > entering some sequence gets it converted into what you want on the screen > but more

RE: walrus with a twist :+= or ...

2021-10-28 Thread Avi Gross via Python-list
ything like I am describing (or something much better) is being looked at? -Original Message- From: Python-list On Behalf Of Peter J. Holzer Sent: Thursday, October 28, 2021 5:08 AM To: python-list@python.org Subject: Re: walrus with a twist :+= or ... On 2021-10-27 22:15:09 -0400, Avi

Re: walrus with a twist :+= or ...

2021-10-28 Thread Peter J. Holzer
On 2021-10-27 22:15:09 -0400, Avi Gross via Python-list wrote: > But a serious question is now that we sort of have UNICODE, and even many > editors and other programs support it, perhaps it might make sense for some > operations in computer languages to make use of them. I have thought so since t

Re: walrus with a twist :+= or ...

2021-10-28 Thread Abdur-Rahmaan Janhangeer
The proposal is very interesting, my only concern is readability unless a team has a tool check and flag it out as a process. Else i fear one day i'll be seeing =+_+= in Python code. But jokes aside @Avi why would someone want to immediately add a 2 after walrus defining it? in :+=2 Kind Regards

RE: walrus with a twist :+= or ...

2021-10-27 Thread Avi Gross via Python-list
we got along fine before a walrus came along, ... or did we? -Original Message- From: Python-list On Behalf Of MRAB Sent: Wednesday, October 27, 2021 9:21 PM To: python-list@python.org Subject: Re: walrus with a twist :+= or ... On 2021-10-28 02:06, Avi Gross via Python-list wrote: >

RE: walrus with a twist :+= or ...

2021-10-27 Thread Avi Gross via Python-list
Wednesday, October 27, 2021 9:11 PM To: Python Subject: Re: walrus with a twist :+= or ... On Thu, Oct 28, 2021 at 11:58 AM Avi Gross via Python-list wrote: > On a serious note, if it was ever considered a good idea, what would > be an acceptable sequence of symbols that might not b

Re: walrus with a twist :+= or ...

2021-10-27 Thread MRAB
On 2021-10-28 02:06, Avi Gross via Python-list wrote: I just realized I left out **= so my apologies. Are there other such abbreviations and does anyone use them? You forgot about the bitwise operators: |= &= ^= -Original Message- From: Python-list On Behalf Of Avi Gross via Python

Re: walrus with a twist :+= or ...

2021-10-27 Thread Chris Angelico
On Thu, Oct 28, 2021 at 11:58 AM Avi Gross via Python-list wrote: > On a serious note, if it was ever considered a good idea, what would be an > acceptable sequence of symbols that might not break or confuse existing > programs and what would we call it? I mean what animal, of course. > > > > What

RE: walrus with a twist :+= or ...

2021-10-27 Thread Avi Gross via Python-list
I just realized I left out **= so my apologies. Are there other such abbreviations and does anyone use them? -Original Message- From: Python-list On Behalf Of Avi Gross via Python-list Sent: Wednesday, October 27, 2021 8:57 PM To: python-list@python.org Subject: walrus with a twist :+= or