-
Notifications
You must be signed in to change notification settings - Fork 20
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
pytypes breaks @autoreload in a somewhat dangerous way #113
Comments
perhaps related error: just adding
|
what's worse, it PERMANENTLY breaks autoreload. no new changes are ever seen. the only way to fix this is to restart the kernel |
did some further digging -- this also breaks autoreload with functions, but entirely silently! if you decorate a function with |
Hey, I don't have time or energy to look into autoreload or IPython internals. However, if you can tell me the root cause of this issue I would fix it. At least if it is feasible with reasonable effort. Things you can try to narrow it down:
The mentioned functions |
hi @Stewori fair enough, i will do so and report back. thank you! |
hi @Stewori i looked at typeguard's |
Another thing to try is to check whether the order of decorators makes a difference. |
I too don't have the capacity to research this, but once the root cause is understood and pytypes/typeguard found to do something wrong, I will of course fix typeguard if possible. |
If I decorate a class method with
@typechecked
, it works, but breaks autoreload, generating this error:where MYCLASS is the name of the class i'm working on
The text was updated successfully, but these errors were encountered: