This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile
Date 2020-01-05.00:30:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578184224.6.0.82739775738.issue39215@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-01-05 00:30:24Anthony Sottilesetrecipients: + Anthony Sottile
2020-01-05 00:30:24Anthony Sottilesetmessageid: <1578184224.6.0.82739775738.issue39215@roundup.psfhosted.org>
2020-01-05 00:30:24Anthony Sottilelinkissue39215 messages
2020-01-05 00:30:24Anthony Sottilecreate