[issue4649] Fix a+b to a + b

2008-12-13 Thread Guido van Rossum
Guido van Rossum added the comment: Retro, you are blowing this way out of proportion. Style guidelines are not absolute rules that must be followed at all cost, and there are always exceptions. You need to have a lot of experience before you can claim with certainty that a certain piece of co

[issue4649] Fix a+b to a + b

2008-12-13 Thread Retro
Retro added the comment: What is recommended in PEP 8, you are engouraged to follow that; not you as a Python coder but you as a member of the Python community where PEP 8 is the coding style specification. Python's built-in modules have such a lovely coding style because they all follow PEP 8.

[issue4649] Fix a+b to a + b

2008-12-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is silly. The current version better communicates its intended purpose. -- resolution: -> wont fix status: open -> closed ___ Python tracker _

[issue4649] Fix a+b to a + b

2008-12-12 Thread David W. Lambert
David W. Lambert added the comment: That phrase of PEP 8 means to me "Use spaces to visually group expressions according to precedence." ___ Python tracker ___ __

[issue4649] Fix a+b to a + b

2008-12-12 Thread Retro
Retro added the comment: Let's set a good example in the documentation and follow PEP 8. For God's sake, this is the documentation of Python! Where else to set a good example than here? Let's see some PEP 8 in action, in the documentation! ___ Python tracker

[issue4649] Fix a+b to a + b

2008-12-12 Thread David W. Lambert
David W. Lambert added the comment: I do think your interpretation of PEP8 is overly strict. Here's the source code of the first j interpreter. (Ken Iverson) typedef char C;typedef long I; typedef struct a{I t,r,d[3],p[2];}*A; #define P printf #define R return #define V1(f) A f(w)A w; #defin

[issue4649] Fix a+b to a + b

2008-12-12 Thread Retro
Retro added the comment: And please fix the code example mentioned in issue4648. Line 4 has a little fix to be made: from ... print(n, 'equals', x, '*', n//x) to ... print(n, 'equals', x, '*', n // x) ___ Python tracker

[issue4649] Fix a+b to a + b

2008-12-12 Thread Retro
New submission from Retro : http://docs.python.org/3.0/tutorial/controlflow.html#defining-functions Please visit the above link and see line 6 in the example code. ... a, b = b, a+b should be fixed to ... a, b = b, a + b because PEP 8 recommends to - Use spaces around arith