[New-bugs-announce] [issue30721] Show expected input for right shift operator usage in custom "print" error message

Sanyam Khurana report at bugs.python.org
Wed Jun 21 01:13:56 EDT 2017


New submission from Sanyam Khurana:

While working on issue: http://bugs.python.org/issue30597 to enhance the custom error message by showing expected output in Python3 syntax when someone uses Python2 syntax, a PR was raised: https://github.com/python/cpython/pull/2009, where we just handled the case for print with soft-space and excessive white-space.

In the implementation discussion, an issue was raised to handle the case with right shift operator by Nick as in here:
http://bugs.python.org/issue30597#msg295484

Nick suggested here about the possible patch: https://github.com/python/cpython/pull/2009#issuecomment-307539241

----------
messages: 296518
nosy: CuriousLearner, ncoghlan
priority: normal
severity: normal
status: open
title: Show expected input for right shift operator usage in custom "print" error message
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30721>
_______________________________________


More information about the New-bugs-announce mailing list