Gregory Beauregard <g...@greg.red> added the comment:
List[42] is already accepted, and your proposed patch does not change it to make it not accepted. The issue is _type_check is only called in a few particular locations; this is part of the technical reason I'm not very concerned about relaxing the _type_check requirements. >From a type checking philosophy point of view I agree with Jelle and am >negative on strict runtime requirements in typing.py. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46644> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com