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 rhettinger
Recipients Cesar.Kawakami, Devin Jeanpierre, Kyle.Buzsaki, Rahul Gupta, amaury.forgeotdarc, berker.peksag, eryksun, ezio.melotti, ionelmc, mark.dickinson, martin.panter, ncoghlan, r.david.murray, rhettinger
Date 2015-05-27.17:47:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Berker's patch looks good.
It has several virtues:

* the error message is reasonable and clear
* it makes the language more consistent
* it doesn't break any existing code.
* it makes the AST a little simpler and faster
  by removing a special case

The patch needs to updated:
* remove the whatsnew entry
* fix test_codeop which expects "del ()" to raise SyntaxError
* fix test_syntax which fails on "() = 1" and "del ()"
* fix test_with which fails on "with mock as ()"
Date User Action Args
2015-05-27 17:47:39rhettingersetrecipients: + rhettinger, amaury.forgeotdarc, mark.dickinson, ncoghlan, Devin Jeanpierre, ezio.melotti, ionelmc, r.david.murray, berker.peksag, martin.panter, eryksun, Cesar.Kawakami, Kyle.Buzsaki, Rahul Gupta
2015-05-27 17:47:39rhettingersetmessageid: <>
2015-05-27 17:47:39rhettingerlinkissue23275 messages
2015-05-27 17:47:39rhettingercreate