[issue44633] Indexing the union type can return NotImplemented
Serhiy Storchaka
report at bugs.python.org
Wed Jul 14 01:42:46 EDT 2021
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
>>> import typing
>>> (int | typing.T)[1]
NotImplemented
It is related to issue44632.
----------
components: Interpreter Core
messages: 397468
nosy: gvanrossum, kj, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Indexing the union type can return NotImplemented
type: behavior
versions: Python 3.10, Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44633>
_______________________________________
More information about the Python-bugs-list
mailing list