On Mon, 20 Dec 2004 13:00:39 -0600, John Roth
[EMAIL PROTECTED] wrote:
Tabnanny is intended to check whether indentation
has mixed tabs and spaces. Files with mixed tabs
and spaces _can_ compile just fine if the editor
that produced them agrees with the compiler about
the number of spaces that a
Franz Steinhaeusler wrote:
Thanks for your explanation.
I tried an found:
def a():
-print
-.print
where point is a space.
tabnanny here complains and python compile it just fine.
really? that's a syntax error (you cannot change indentation nillywilly
inside a block), and the Python
On Tue, 21 Dec 2004 10:24:40 +0100, Fredrik Lundh
[EMAIL PROTECTED] wrote:
Franz Steinhaeusler wrote:
Thanks for your explanation.
I tried an found:
def a():
-print
-.print
where point is a space.
tabnanny here complains and python compile it just fine.
really? that's a syntax error
Franz Steinhaeusler wrote:
On Tue, 21 Dec 2004 10:24:40 +0100, Fredrik Lundh
[EMAIL PROTECTED] wrote:
Franz Steinhaeusler wrote:
Thanks for your explanation.
I tried an found:
def a():
-print
-.print
where point is a space.
tabnanny here complains and python compile it just fine.
really? that's
On Tue, 21 Dec 2004 08:36:31 -0500, Steve Holden [EMAIL PROTECTED]
wrote:
Franz Steinhaeusler wrote:
[...]
Oh sorry, I meant
def a():
-print
..-print
C:\Python23\Libtabnanny.py -v c:\franz.py
'c:\\franz.py': *** Line 3: trouble in tab city! ***
offending line: ' \tprint\n'
indent not
Franz Steinhaeusler wrote:
On Tue, 21 Dec 2004 08:36:31 -0500, Steve Holden [EMAIL PROTECTED]
wrote:
Franz Steinhaeusler wrote:
[...]
Oh sorry, I meant
def a():
-print
..-print
C:\Python23\Libtabnanny.py -v c:\franz.py
'c:\\franz.py': *** Line 3: trouble in tab city! ***
offending line: '
On Tue, 21 Dec 2004 09:34:47 -0500, Steve Holden [EMAIL PROTECTED]
wrote:
Hello Steve,
I've used drpython, and liked it.
thank you, I'm sure, our project Admin will be pleased to hear this :)
I think it would be a good way for
people to start to use the language,
yes, this project is
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Do you think tabnanny is a useful piece of code now? I used it a lot when
I first started using Python, and still run it over code from unknown
sources (no pun intended) from time to time.
I think it's a lot less useful
John Roth wrote:
[...]
I know what I would like to see in an editor:
First, it autodetects whether the module uses
tabs consistently, spaces consistently or a
mixture. If it uses tabs consistently, it then
uses the current default.
If it uses spaces consistently, it should also
autodetect the
On Tue, 21 Dec 2004 09:06:12 -0600, John Roth
[EMAIL PROTECTED] wrote:
Steve Holden [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Do you think tabnanny is a useful piece of code now? I used it a lot when
I first started using Python, and still run it over code from unknown
I'm told Tabnanny was inspired by lint, the Unix utiltity to check C sources
(and probably others). Lint was primarily useful in days long ago when CPUs
were slow and a compile used a significant amount of resources. In a
multiuser environment (we ran an Intel 286 in multiuser mode!!), the
Yet Another Mike [EMAIL PROTECTED] writes:
I'm told Tabnanny was inspired by lint, the Unix utiltity to check C sources
(and probably others). Lint was primarily useful in days long ago when CPUs
were slow and a compile used a significant amount of resources. In a
multiuser environment
Hi, I looked at tabnanny to check
a python source file.
But I didn't find anything, tabnanny
is able to find, what couldn't be found
by compile command.
Or have I missed something?
best regards,
--
Franz Steinhaeusler
--
http://mail.python.org/mailman/listinfo/python-list
Franz Steinhaeusler [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi, I looked at tabnanny to check
a python source file.
But I didn't find anything, tabnanny
is able to find, what couldn't be found
by compile command.
Or have I missed something?
Tabnanny is intended to check whether
14 matches
Mail list logo