-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make abi3audit python 3.8 compatible #47
Conversation
LGTM overall! I just cut |
0b949ee
to
d0e459a
Compare
Used newer version of abi3info and also used future annotations instead of Dict/Set/etc. |
abi3audit/_audit.py
Outdated
class AuditResult: | ||
so: SharedObject | ||
baseline: PyVersion | ||
computed: PyVersion | ||
non_abi3_symbols: set[Symbol] | ||
future_abi3_objects: set[Function | Data] | ||
future_abi3_objects: set[Union[Function, Data]] |
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.
FWIW the |
syntax for Union
should also work in deferred annotations with __future__
(it just doesn't work work in type aliases because those aren't deferred).
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.
I see
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.
LGTM!
No description provided.