[issue46981] Empty typing.Tuple
Guido van Rossum
report at bugs.python.org
Fri Mar 11 18:35:09 EST 2022
Guido van Rossum <guido at python.org> added the comment:
Alas, I have no idea. I don't even recall what copy_with() is for (it was apparently introduced in 3.7). Possibly vopy_with() is wrong here? I imaging some of this has to do with the special casing needed so that repr() of an empty Tuple type doesn't print "Tuple[]" (which IIRC it did, long ago).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46981>
_______________________________________
More information about the Python-bugs-list
mailing list