-
Notifications
You must be signed in to change notification settings - Fork 788
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
Various fixes in the env escape code #1734
Conversation
We now handle exceptions that are also proxied classes better We canonicalize more names to better deal with aliases in proxied libraries. Other cleanup
a49b2b3
to
674f986
Compare
# - proxied functions | ||
# - classes that are proxied regular classes AND proxied exceptions | ||
# - classes that are proxied regular classes AND NOT proxied exceptions | ||
# - clases that are NOT proxied regular classes AND are proxied exceptions |
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.
nit: classes
) | ||
|
||
# Detect circular aliaes. If a user lists ("a", "b") and then ("b", "a"), we |
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.
nit aliases ?
# actually: | ||
# - the class itself (which is a stub) | ||
# - the class in the capacity of a parent class (to another exception | ||
# presumably). The reason for this is that if we have a exception/proxied |
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.
nit: an exception
# - A_parent inherits from the actual parents of A (let's assume a | ||
# builtin exception) | ||
# - A inherits from (Stub, A_parent) | ||
# - B_parent inherints from A_parent and the builtin Exception |
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.
nit: inherits
We now handle exceptions that are also proxied classes better
We canonicalize more names to better deal with aliases in proxied libraries.
Other cleanup