Skip to content

[3.6] bpo-31232: Backport custom print rshift message#3155

Merged
ncoghlan merged 2 commits into
python:3.6from
ncoghlan:bpo-31232-backport-print-rshift-message
Aug 19, 2017
Merged

[3.6] bpo-31232: Backport custom print rshift message#3155
ncoghlan merged 2 commits into
python:3.6from
ncoghlan:bpo-31232-backport-print-rshift-message

Conversation

@ncoghlan

@ncoghlan ncoghlan commented Aug 19, 2017

Copy link
Copy Markdown
Contributor

bpo-30721 added a "Did you mean ...?" suggestion to rshift
TypeError messages that triggers when the LHS is a Python
C function called "print".

Since this custom error message is expected to be triggered
primarily by attempts to use Python 2 print redirection syntax
in Python 3, and is incredibly unlikely to be encountered
otherwise, it is also being backported to the next 3.6
maintenance release.

https://bugs.python.org/issue31232

@ncoghlan
ncoghlan merged commit 1a05e87 into python:3.6 Aug 19, 2017
@ncoghlan
ncoghlan deleted the bpo-31232-backport-print-rshift-message branch March 30, 2018 07:50
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.

6 participants