Skip to content

Conversation

@hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Oct 21, 2020

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.

@github-actions
Copy link

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

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 16, 2020
@hauntsaninja hauntsaninja deleted the gencall branch December 26, 2020 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants