[Python-ideas] Short form for keyword arguments and dicts

Chris Angelico rosuav at gmail.com
Tue Jun 25 12:04:53 CEST 2013


On Tue, Jun 25, 2013 at 7:54 PM, Anders Hovmöller <boxed at killingar.net> wrote:
> Maybe it's just this code base that's pathological or maybe I'm just being
> paranoid about stuff not matching up. I'm gonna think about these
> possibilities for a while and give up on convincing you guys for now at
> least :P

Just a side idea, maybe what you want is not new syntax but a linter?
Knock together a script that runs through your code and tells you
about any oddities it finds, thus guaranteeing that your stuff does
indeed match up. As an added bonus, you could plug that into your
source control system so you get an alert before you can commit - not
sure how you do that in Mercurial but I'm sure you can (I've only ever
done it with git). Makes it really easy to catch problems.

ChrisA


More information about the Python-ideas mailing list