Message341699
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 |
|
Date |
User |
Action |
Args |
2019-05-07 08:39:53 | eric.smith | set | recipients:
+ eric.smith, lukasz.langa, emilyemorehouse |
2019-05-07 08:39:53 | eric.smith | set | messageid: <1557218393.13.0.153160088423.issue36826@roundup.psfhosted.org> |
2019-05-07 08:39:53 | eric.smith | link | issue36826 messages |
2019-05-07 08:39:52 | eric.smith | create | |
|