-
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
get_origin difference between Python 3.6 and Python 3.7 #34
Comments
Hm, this looks like a bug. I think for bare class objects |
Not sure how to know if it is a bare class? |
The way it works since 3.7 is at least consistent with |
Yea, it would be great if then |
I was always think about this, but it may be a breaking change, so I'm not 100% sure. |
I suspect there are a lot more people that aren't able to use this (or need hacky workarounds) because of the inconsistency with 3.6, than there are people relying on the existing behavior (if any). So I think fixing it would be best. Just my $0.02 :) |
I was hoping that using this package would make it easier to migrate between Python versions as it changes typing implementation. So I started using it with Python 3.6 but now that I tried to use working code on Python 3.6 with Python 3.7 it seems there are differences. For example, the following code:
In Python 3.6 outputs:
While in Python 3.7:
I think ideally they should behave the same.
The text was updated successfully, but these errors were encountered: