Enable --allow-redefinition-new in self-check#20877
Enable --allow-redefinition-new in self-check#20877ilevkivskyi wants to merge 2 commits intopython:masterfrom
Conversation
|
Oh well, now there is a recursion error in mypyc, last time I tried this few days ago it worked, so must be something new. |
|
The recursion error happens here: so it looks like we somehow got a |
This comment has been minimized.
This comment has been minimized.
|
Pushing a fix in a separate PR #20879 |
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
|
Minimal repro for the new issue: This is caused by my binder PR #20862. I guess my understanding of the binder logic was wrong: |
|
No, I actually checked |
|
Oh should be pop didn't change because of |
Now that the performance issues are fixed, I think this is ready. I also undo previously added workarounds.
cc @JukkaL @hauntsaninja