| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue42102
This is more just a suggestion of what this could look like than a serious PR, although it does work and does pass tests.
One important behaviour change in this PR is isinstance(x, callable) no longer raises a TypeError, instead only returning False. The decision of whether to make isinstance(x, callable) work is separate from whether to make callable runtime subscriptable, but it should either work or raise TypeError as today, not something in between.