On 7 November 2017 at 05:20, Ethan Smith <et...@ethanhs.me> wrote: > I'm not so keen on this because I think some things in typing (such as > NamedTuple) probably deserve to be in the collections module. And some of > the ABCs could probably also be merged with collections.abc but doing this > correctly and not all at once would be quite difficult. > I do think the typing concepts should be better integrated into the standard > library. However, a fair amount of the clases you list (such as NamedTuple) > are in of themselves dependent on parts of typing.
This is a good point. To what extent is it true that the stdlib *already* uses the typing module internally, it's just that the usage is hidden by the fact that the examples of this are in the typing module - not because they "should" be there but simply because it isolates the use of typing to that one module? Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com