Yes, that's intentional. (We have a separate tracker for this module,
https://github.com/python/typing/issues)
On Tue, Oct 18, 2016 at 11:08 AM, Ryan Gonzalez wrote:
> E.g.:
>
>
> import typing
> print(typing.Pattern, typing.Match) # Works.
> from typing import *
> print(Pattern, Match) # NameE
E.g.:
import typing
print(typing.Pattern, typing.Match) # Works.
from typing import *
print(Pattern, Match) # NameError: name 'Pattern' is not defined
A quick look shows that typing.py doesn't have Pattern and Match in
__all__. Was this intentional, or just an oversight?
--
Ryan
[ERROR]: Y