[issue36983] typing.__all__ has drifted from actual contents

Anthony Sottile report at bugs.python.org
Tue May 21 00:43:41 EDT 2019


Anthony Sottile <asottile at umich.edu> added the comment:

using the same heuristic as the test uses, here's what's been missing from __all__ historically

(note: I _manually_ skipped `Final` for 3.5.0-3)

===================================(3, 5, 0)===================================
+FrozenSet
+SupportsBytes
+SupportsComplex
===================================(3, 5, 1)===================================
+FrozenSet
+SupportsBytes
+SupportsComplex
===================================(3, 5, 2)===================================
+FrozenSet
+SupportsBytes
+SupportsComplex
===================================(3, 5, 3)===================================
+AsyncIterable
+AsyncIterator
+Awaitable
+Coroutine
+SupportsBytes
+SupportsComplex
===================================(3, 5, 4)===================================
+AsyncContextManager
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Coroutine
+NoReturn
===================================(3, 5, 5)===================================
+AsyncContextManager
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Coroutine
+NoReturn
===================================(3, 5, 6)===================================
+AsyncContextManager
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Coroutine
+NoReturn
===================================(3, 5, 7)===================================
+AsyncContextManager
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Coroutine
+NoReturn
===================================(3, 6, 0)===================================
+AsyncIterable
+AsyncIterator
+Awaitable
+Collection
+ContextManager
+Coroutine
+SupportsBytes
+SupportsComplex
===================================(3, 6, 1)===================================
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+ContextManager
+Coroutine
+SupportsBytes
+SupportsComplex
===================================(3, 6, 2)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 3)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 4)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 5)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 6)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 7)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 6, 8)===================================
+AsyncContextManager
+AsyncGenerator
+AsyncIterable
+AsyncIterator
+Awaitable
+ChainMap
+Collection
+Coroutine
+NoReturn
===================================(3, 7, 0)===================================
+ChainMap
+ForwardRef
===================================(3, 7, 1)===================================
+ChainMap
+ForwardRef
===================================(3, 7, 2)===================================
+ChainMap
+ForwardRef
+OrderedDict
===================================(3, 7, 3)===================================
+ChainMap
+ForwardRef
+OrderedDict

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36983>
_______________________________________


More information about the Python-bugs-list mailing list