Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65614

Re: how to reduce bugs due to incorrect indentation

From Roel Schroeven <roel@roelschroeven.net>
Subject Re: how to reduce bugs due to incorrect indentation
Date 2014-02-07 23:06 +0100
References (1 earlier) <ld0rb2$5od$1@ger.gmane.org> <CACwCsY780xSMED=Gn-QSvRzbb_Y0=QcJuqfkUS1OVomvE6YRJA@mail.gmail.com> <52F3FF51.3050502@stoneleaf.us> <CACwCsY4h4K9knZRkhV=DweCAHiLx4UpmqO2BHT_NFdCqu5MzZg@mail.gmail.com> <CAPTjJmp_Yg2CsQ+wDvq0prtsCKgSrOvO0yeqtXNZ=dp_gMH5HQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6500.1391810827.18130.python-list@python.org> (permalink)

Show all headers | View raw


Chris Angelico schreef:
> But none of this would solve the OP's original issue. Whether it's a
> tab or spaces, unexpectedly indenting a line of code is a problem.

I had misread. I thought the problem was that the OP did want to indent, 
but accidentally used the tab key instead of the space bar to do so, 
introducing the dreaded mixing of tabs and spaces. Remapping the tab key 
would solve that problem.

But the real problem was different, so my advice was indeed not a 
solution to the problem. I should've read better.

-- 
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
   -- Isaac Asimov

Roel Schroeven

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

how to reduce bugs due to incorrect indentation msustik@gmail.com - 2014-02-05 19:02 -0800
  Re: how to reduce bugs due to incorrect indentation Dan Sommers <dan@tombstonezero.net> - 2014-02-06 03:08 +0000
    Re: how to reduce bugs due to incorrect indentation Chris Angelico <rosuav@gmail.com> - 2014-02-06 15:47 +1100
  Re: how to reduce bugs due to incorrect indentation Asaf Las <roegltd@gmail.com> - 2014-02-05 21:23 -0800
  Re: how to reduce bugs due to incorrect indentation Terry Reedy <tjreedy@udel.edu> - 2014-02-06 03:09 -0500
  Re: how to reduce bugs due to incorrect indentation Grant Edwards <invalid@invalid.invalid> - 2014-02-06 14:49 +0000
    Re: how to reduce bugs due to incorrect indentation msustik@gmail.com - 2014-02-06 10:51 -0800
  Re: how to reduce bugs due to incorrect indentation Roel Schroeven <roel@roelschroeven.net> - 2014-02-06 21:29 +0100
    Re: how to reduce bugs due to incorrect indentation msustik@gmail.com - 2014-02-06 17:20 -0800
      Re: how to reduce bugs due to incorrect indentation Chris Angelico <rosuav@gmail.com> - 2014-02-07 12:57 +1100
      Re: how to reduce bugs due to incorrect indentation Roel Schroeven <roel@roelschroeven.net> - 2014-02-07 23:08 +0100
      Re: how to reduce bugs due to incorrect indentation Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2014-02-08 12:11 +0100
  Re: how to reduce bugs due to incorrect indentation Larry Martell <larry.martell@gmail.com> - 2014-02-06 15:36 -0500
  Re: how to reduce bugs due to incorrect indentation Ethan Furman <ethan@stoneleaf.us> - 2014-02-06 13:32 -0800
  Re: how to reduce bugs due to incorrect indentation Larry Martell <larry.martell@gmail.com> - 2014-02-06 17:09 -0500
  Re: how to reduce bugs due to incorrect indentation Chris Angelico <rosuav@gmail.com> - 2014-02-07 09:30 +1100
    Re: how to reduce bugs due to incorrect indentation Asaf Las <roegltd@gmail.com> - 2014-02-06 15:01 -0800
      Re: how to reduce bugs due to incorrect indentation Chris Angelico <rosuav@gmail.com> - 2014-02-07 11:08 +1100
  Re: how to reduce bugs due to incorrect indentation Roel Schroeven <roel@roelschroeven.net> - 2014-02-07 23:06 +0100

csiph-web