Issue 1264666: PEP 8 uses wrong raise syntax (original) (raw)

Despite the recommendation in "Programming Recommendations" to use::

raise ValueError('message')

instead of::

raise ValueError, 'message'

the PEP itself uses the second form under the "Maximum Line Length" section::

raise ValueError, "sorry, you lose"
...
raise ValueError, "I don't think so"