Jukka Lehtosalo

Results 479 comments of Jukka Lehtosalo

This is still open. #6806 can be used for context, though it was closed in an incomplete state (and is now quite old). Marking this as "good second issue" instead...

The new semantic analyzer requires changes to some plugins, especially those that modify classes. In particular, hooks may be executed multiple times for the same definitions. PR #7135 added documentation...

#11541 causes mypy to kill the process at the end of a run, without cleaning things up properly. This might affect plugins that want to run something at the end...

PR #14435 changes the runtime type of various (but not all!) `fullname` attributes/properties so that missing/empty values are represented using an empty string (`""`) instead of `None`. If a plugin...

All of those could be pretty nice. Once somebody starts working on this, we could have separate issues for all of the enhancements so that we can discuss different designs....

I'm closing this since there is no concrete proposal and there doesn't seem to be much active interest in this issue.

Okay, let's open this since there is renewed interest. > Maybe we should develop something similar to Pyre's API? Maybe we could even just copy the same API style, to...

I agree that this would be worth fixing. The implementation would have to be clever enough to catch `cast(A, x)` if `A` is not defined at runtime but to allow...

I don't agree with having a flag -- I don't see why this particular case of unsafety should have a flag dedicated to it. I don't expect that this will...

We have previously had to make maybe hundreds of changes to Dropbox internal repos in response to fixes to mypy, so our bar for adding a backwards-compatibility flag is pretty...