[issue31750] expose PyCell_Type in types module
Guido van Rossum
report at bugs.python.org
Tue Oct 10 16:10:36 EDT 2017
Guido van Rossum <guido at python.org> added the comment:
I think the cell type is pretty fundamental to Python's semantic model. IIRC there once was a time when cells were entirely hidden from the user, but that's no longer true. Third-party code that uses them might want to have type annotations and then it's a pain when there's no way to talk about them. And no, that doesn't mean it belongs in typing.py -- that's not a scalable model, and in general we only want to shadow things there that must be generic (but aren't in types.py), like `List` or `re.Pattern`.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31750>
_______________________________________
More information about the Python-bugs-list
mailing list