[issue10460] Misc/indent.pro does not reflect PEP 7

Mick Beaver report at bugs.python.org
Sat Nov 20 15:00:47 CET 2010

Mick Beaver <myheartinamerica at gmail.com> added the comment:


Thanks for looking at this. Before getting your response, I decided to
take a crack at it and came up with something different. We explicitly
disagree on:

1. You had --no-blank-lines-after-declarations, but PEP 7 says:
- Function definition style: function name in column 1, outermost
      curly braces in column 1, blank line after local variable

2. You had --cuddle-else, but PEP 7 has the following listing:
if (mro != NULL) {
else {

I merged our two indent.pro files. Between the two of us, we had a
number of switches that were inferred, and should probably be made
more explicit in PEP 7. Those are:

How do you feel about the following indent.pro?:

-T PyCFunction
-T PyObject

Thanks for your help,


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list