[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

sco1 report at bugs.python.org
Sun Apr 18 12:19:00 EDT 2021


sco1 <sco1.git at gmail.com> added the comment:

We can also see this kind of thing with other literals, would that be in scope here?

e.g.

```
Python 3.9.4 (default, Apr  5 2021, 12:33:45) 
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "foo"in ["foo", "bar"]
True
>>> [1,]in [[1,]]
True
```

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43833>
_______________________________________


More information about the Python-bugs-list mailing list