| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| tkinter.tix.Shell | ||
| types.GenericAlias.__getattr__ | ||
| types.GenericAlias.__call__ # Would be complicated to fix properly, Any could silence problems. #6392 | ||
| types.SimpleNamespace.__init__ # class doesn't accept positional arguments but has default C signature |
There was a problem hiding this comment.
This should be in the "Allowlist entries that cannot or should not be fixed" section here as well as the other allowlists.
Sorry, something went wrong.
There was a problem hiding this comment.
Done.
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
See here for the cpython change. types.SimpleNamespace now can take in an iterable of pairs or dictionary when initializing.
Note: These stubs are slightly stricter than what's actually allowed at runtime. To help reduce the chance of runtime errors I think it makes sense to simply limit pairs to tuples, but happy to walk back this decision.