Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

If you are fine with this change Gregory, do you mind to withdraw your request 
and remove the DO-NOT-MERGE label on GitHub?

As for DeprecationWarning vs SyntaxWarning:

1. It looks as misuse of DeprecationWarning. We do not plan to remove this 
feature in future. Emitting it will send a false signal to users. And 
SyntaxWarning was added such kind of warning: syntactically valid code that for 
sure is an error.

2. Seems there is no differences between DeprecationWarning and SyntaxWarning 
if they are emitted at compile time. They will be shown by default in all 
cases, in the main script and in modules.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to