This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients BTaskaya, gvanrossum, lys.nikolaou, pablogsal
Date 2020-05-07.18:08:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588874887.09.0.650691698617.issue40546@roundup.psfhosted.org>
In-reply-to
Content
For example:

raise SyntaxError("message", ("<file>", 1, 3, "text"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<file>", line 1
    text
      ^
SyntaxError: message
>>> 

(I can't find docs for the constructor of SyntaxError objects. We should update the docs.)
History
Date User Action Args
2020-05-07 18:08:07gvanrossumsetrecipients: + gvanrossum, lys.nikolaou, pablogsal, BTaskaya
2020-05-07 18:08:07gvanrossumsetmessageid: <1588874887.09.0.650691698617.issue40546@roundup.psfhosted.org>
2020-05-07 18:08:07gvanrossumlinkissue40546 messages
2020-05-07 18:08:07gvanrossumcreate