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

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: ad 1: yes, that makes sense. ad 2: "cuddling" and "non-cuddling" else are actually pretty evenly mixed in the source. I didn't explicitly look at PEP 7 for this, but in that case it should get preference. Your suggested profile looked good, applied in r86564.

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

2010-11-20 Thread Mick Beaver
Mick Beaver added the comment: Georg, 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

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

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Done in r86561. Thanks for the report! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-11-19 Thread Mick Beaver
New submission from Mick Beaver : Hello, I noticed that the indent.pro in Misc seems very different from PEP 7. Would it be possible to have one that produces C code that meets the PEP 7 style guidelines? As always, thanks for all of the hard work for Python! -Mick -- components: De