Skip to content

Conversation

ilinum
Copy link
Collaborator

@ilinum ilinum commented Jun 30, 2017

These were calling messages.format_simple() instead of messages.format(),
which returns an empty string for complicated types, such as Callable.

Fixes #3382

These were calling messages.format_simple() instead of messages.format(),
which returns an empty string for complicated types, such as Callable.

Fixes python#3382
Copy link
Collaborator

@ddfisher ddfisher left a comment

Choose a reason for hiding this comment

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

LGTM! Fix minor grammar nit, then merge.

# The implementation is mostly identical to list comprehensions, so a single
# test case is ok.
# The implementation is mostly identical to list comprehensions, so only a few
# test cases are ok.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: "are" -> "is".

@ilinum ilinum merged commit e74ce8d into python:master Jun 30, 2017
@ilinum ilinum deleted the fix-error-messages branch June 30, 2017 22:23
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