Message359312
def f(): def g(arg: int, /): pass f() $ python3.9 t2.py Traceback (most recent call last): File "/home/asottile/workspace/t2.py", line 5, in <module> f() File "/home/asottile/workspace/t2.py", line 2, in f def g(arg: int, /): SystemError: no locals when loading 'int' Originally from this StackOverflow post: https://stackoverflow.com/q/59594494/812183 | |
Date | User | Action | Args | 2020-01-05 00:30:24 | Anthony Sottile | set | recipients: + Anthony Sottile | 2020-01-05 00:30:24 | Anthony Sottile | set | messageid: <1578184224.6.0.82739775738.issue39215@roundup.psfhosted.org> | 2020-01-05 00:30:24 | Anthony Sottile | link | issue39215 messages | 2020-01-05 00:30:24 | Anthony Sottile | create | | |