Skip to content

Treat varargs as legal context in default lambda argument #2770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2017

Conversation

elazarg
Copy link
Contributor

@elazarg elazarg commented Jan 28, 2017

Fix #2764.

This is somewhat of an ad-hoc fix, but I think it's an improvement.

See also #2634.

@elazarg elazarg changed the title Treat varargs as legal context Treat varargs as legal context in default lambda argument Jan 28, 2017
@JukkaL JukkaL merged commit ea29bd6 into python:master Feb 1, 2017
@JukkaL
Copy link
Collaborator

JukkaL commented Feb 1, 2017

Thanks for the fix! Agreed that this is an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible types in assignment with --strict-optional for a: Callable[..., None] = lambda *a, **k: None
2 participants