Skip to content

Conversation

@srittau
Copy link
Collaborator

@srittau srittau commented Mar 10, 2019

Also, use object instead of Any for values list

@JelleZijlstra
Copy link
Member

The test failure looks like it's because of the Any -> object type change. It would be best to change mypy so that the test uses a function defined in the test itself rather than one from typeshed.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good apart from the selftest failure. This is documented in https://docs.python.org/3/library/functions.html#print.

srittau added a commit to srittau/mypy that referenced this pull request Mar 11, 2019
This removes coupling to the exact type annotation of print() in
typeshed.

Cf. python/typeshed#2848
JelleZijlstra pushed a commit to python/mypy that referenced this pull request Mar 12, 2019
This removes coupling to the exact type annotation of print() in
typeshed.

Cf. python/typeshed#2848
@JelleZijlstra
Copy link
Member

Going to close and re-open to re-trigger CI.

@JelleZijlstra JelleZijlstra reopened this Mar 12, 2019
@JelleZijlstra JelleZijlstra merged commit 26fefcc into python:master Mar 13, 2019
@srittau srittau deleted the print branch March 13, 2019 08:04
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.

2 participants