-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Python 3.7 #18
Conversation
This seems to work nearly drop-in on my code, so that's great. I did notice that |
I will make a new release on PyPI closer to the release date of Python 3.7, maybe we will need to adjust something, if there will be more changes in |
typing_inspect.py
Outdated
@@ -294,7 +294,7 @@ def get_args(tp, evaluate=None): | |||
get_args(Callable[[], T][int], evaluate=True) == ([], int,) | |||
""" | |||
if NEW_TYPING: | |||
if not evaluate: | |||
if evaluare is not None and not evaluate: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean evaluate (not evaluare)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean evaluate (not evaluare)?
Yes, thanks, this typo should be already fixed in the merged version.
Fixes #17
This adds support for upcoming Python 3.7. The
typing
module in this version was thoroughly reworked, but I tried to keep semantics as much close to the previous versions as possible.