Re: All leading tabs or all leading spaces - why isn't that enforced?

2007-08-07 Thread James Antill
On Tue, 07 Aug 2007 02:53:18 +, John Nagle wrote: > One can argue over tab vs. space indentation, but mixing the two is just > wrong. Why not have CPython report an error if a file has both leading > tabs and leading spaces? I know that was proposed at some point, but I > don't think it ever

Re: All leading tabs or all leading spaces - why isn't that enforced?

2007-08-07 Thread Neil Cerutti
On 2007-08-07, Omari Norman <[EMAIL PROTECTED]> wrote: >> I suppose we Pythonistas are just too permissive for our own good. >> Consider the opportunity to use mixed tabs and spaces a piece of rope of >> your preferred length ... > > I thought I remembered reading somewhere that Python 3000 will

Re: All leading tabs or all leading spaces - why isn't that enforced?

2007-08-07 Thread Omari Norman
> I suppose we Pythonistas are just too permissive for our own good. > Consider the opportunity to use mixed tabs and spaces a piece of rope of > your preferred length ... I thought I remembered reading somewhere that Python 3000 will ban tabs as indentation characters, but now I can't turn up a

Re: All leading tabs or all leading spaces - why isn't that enforced?

2007-08-06 Thread Steve Holden
John Nagle wrote: >One can argue over tab vs. space indentation, but mixing the two > is just wrong. Why not have CPython report an error if a file has > both leading tabs and leading spaces? I know that was proposed at > some point, but I don't think it ever went in. That would catch a > com

RE: All leading tabs or all leading spaces - why isn't that enforced?

2007-08-06 Thread Delaney, Timothy (Tim)
John Nagle wrote: >One can argue over tab vs. space indentation, but mixing the two > is just wrong. Why not have CPython report an error if a file has > both leading tabs and leading spaces? I know that was proposed at > some point, but I don't think it ever went in. That would catch a > co

All leading tabs or all leading spaces - why isn't that enforced?

2007-08-06 Thread John Nagle
One can argue over tab vs. space indentation, but mixing the two is just wrong. Why not have CPython report an error if a file has both leading tabs and leading spaces? I know that was proposed at some point, but I don't think it ever went in. That would catch a common error introduced during