New submission from Batuhan Taskaya <isidenti...@gmail.com>:
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 ---------- files: typing_fail.py messages: 375791 nosy: BTaskaya, gvanrossum, levkivskyi, lukasz.langa priority: normal severity: normal status: open title: get_type_hints regression for 3.9 and 3.10 Added file: https://bugs.python.org/file49421/typing_fail.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com