Author eric.smith
Recipients emilyemorehouse, eric.smith, lukasz.langa
Date 2019-05-07.08:39:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557218393.13.0.153160088423.issue36826@roundup.psfhosted.org>
In-reply-to
Content
If either of these lines are added to test_annotations() in Lib/test/test_future.py, a SystemError will be raised:

        eq("(x:=10)")
        eq("f'{(x:=10):=10}'")

Traceback (most recent call last):
  File "/Users/eric/local/python/cpython/Lib/test/test_future.py", line 258, in test_annotations
    eq("(x:=10)")
  File "/Users/eric/local/python/cpython/Lib/test/test_future.py", line 134, in assertAnnotationEqual
    actual = self.getActual(annotation)
  File "/Users/eric/local/python/cpython/Lib/test/test_future.py", line 121, in getActual
    exec(self.template.format(ann=annotation), {}, scope)
SystemError: unknown expression kind
History
Date User Action Args
2019-05-07 08:39:53eric.smithsetrecipients: + eric.smith, lukasz.langa, emilyemorehouse
2019-05-07 08:39:53eric.smithsetmessageid: <1557218393.13.0.153160088423.issue36826@roundup.psfhosted.org>
2019-05-07 08:39:53eric.smithlinkissue36826 messages
2019-05-07 08:39:52eric.smithcreate