Message391042
Hi. I just want to know why is and, or operators behaving like this. The behavior is described in https://bugs.python.org/issue43833#msg390996. Moreover I researched a little more and found out even if __and__, __or__ methods are defined the and, or operators doesn't seem to work. As Serhiy described in https://bugs.python.org/issue43833#msg390998 the parser reads [0x1for x in (1,2)] as [0x1f or x in (1,2)] which is the parser's fault but why is the or operator behaving like that? |
|
Date |
User |
Action |
Args |
2021-04-14 08:09:26 | shreyanavigyan | set | recipients:
+ shreyanavigyan, Carl.Friedrich.Bolz, nedbat, serhiy.storchaka, Anthony Sottile, pablogsal, sco1, alimuldal, rrauenza |
2021-04-14 08:09:26 | shreyanavigyan | set | messageid: <1618387766.76.0.0690901147133.issue43833@roundup.psfhosted.org> |
2021-04-14 08:09:26 | shreyanavigyan | link | issue43833 messages |
2021-04-14 08:09:26 | shreyanavigyan | create | |
|