Message244208
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:39 | rhettinger | set | recipients:
+ 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:39 | rhettinger | set | messageid: <1432748859.49.0.419771343335.issue23275@psf.upfronthosting.co.za> |
2015-05-27 17:47:39 | rhettinger | link | issue23275 messages |
2015-05-27 17:47:39 | rhettinger | create | |
|