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 BTaskaya
Recipients BTaskaya, gvanrossum, levkivskyi, lukasz.langa
Date 2020-08-22.09:30:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598088602.53.0.71167650591.issue41613@roundup.psfhosted.org>
In-reply-to
Content
The attached script works perfectly fine under Python 3.8, but it crashes in 3.9/3.10.

$ ./py38/python typing_fail.py (3.8.5+)
{'a': <class 'int'>, 'b': <class 'int'>}
$ ./py39/python typing_fail.py (3.9.0rc1+)
[SNIP]
TypeError: 'NoneType' object is not subscriptable
$ ./cpython/python typing_fail.py (3.10.0a0)
[SNIP]
TypeError: 'NoneType' object is not subscriptable
History
Date User Action Args
2020-08-22 09:30:02BTaskayasetrecipients: + BTaskaya, gvanrossum, lukasz.langa, levkivskyi
2020-08-22 09:30:02BTaskayasetmessageid: <1598088602.53.0.71167650591.issue41613@roundup.psfhosted.org>
2020-08-22 09:30:02BTaskayalinkissue41613 messages
2020-08-22 09:30:02BTaskayacreate