Post AY65MmIiMC91DFko6a by [email protected] | |
More posts by [email protected] | |
Post #AY65MjpvWFvdZOGmxM by [email protected] | |
0 likes, 0 repeats | |
Opinions? Should this produce a #Python syntax warning? if x == 2 or 3:https:… | |
Post #AY65MkotrYhYcUnTzk by [email protected] | |
0 likes, 0 repeats | |
As an example, since Python 3.11, this happens:>>> if x is 1: pass...&… | |
Post #AY65Ml2N3TTdIH6EzY by [email protected] | |
0 likes, 0 repeats | |
@nedbat i fail to recall operator priority between C, Python and other programm… | |
Post #AY65Ml6ymLABWZFvAu by [email protected] | |
0 likes, 0 repeats | |
@vstinner The beginner meant `if x == (2 or 3)`, but that won't do what the… | |
Post #AY65MmIiMC91DFko6a by [email protected] | |
0 likes, 0 repeats | |
@nedbat @vstinner couldn't resist this one... (yes, I know) | |
Post #AY65MnhDAbKlXWDsvY by [email protected] | |
0 likes, 0 repeats | |
@graham_knapp @nedbat @vstinner | |
Post #AY65MnlotT1JloNZ6u by [email protected] | |
0 likes, 0 repeats | |
@moshez @nedbat @vstinner oh no! I've created a monster 😱 |