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 serhiy.storchaka
Recipients abarry, ncoghlan, r.david.murray, serhiy.storchaka
Date 2018-02-24.21:32:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519507960.41.0.467229070634.issue32912@psf.upfronthosting.co.za>
In-reply-to
Content
PR 5849 changes not only the Python parser, but codecs. It shouldn't. The Python parser and codecs will go different ways. The warning in the Python parser will finally be upgraded to SyntaxError (it is already replaced with SyntaxError if the warning is raised as error). The warning in codecs will become UnicodeDecodeError or ValueError. This is why the code for emitting the warning is not shared between the parser and codecs at first place.
History
Date User Action Args
2018-02-24 21:32:40serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, r.david.murray, abarry
2018-02-24 21:32:40serhiy.storchakasetmessageid: <1519507960.41.0.467229070634.issue32912@psf.upfronthosting.co.za>
2018-02-24 21:32:40serhiy.storchakalinkissue32912 messages
2018-02-24 21:32:40serhiy.storchakacreate