#2 screwy indentation

closed
nobody
None
5
2005-03-29
2005-03-06
Nick Welch
No

It seems that there is a random mix of spaces and tabs
used for indentation, which makes the source look
screwed up if you don't use the same tab width as the
author(s) (8, I assume, as that is how wide python
considers a tab to be). Obviously this is not a huge
blatant bug, but more of a wishlist thing for the sake
of people who have the desire/need to look through the
code, which I assume is quite a few people using it.

Discussion

  • Simon Forman

    Simon Forman - 2005-03-29
    • status: open --> closed
     
  • Simon Forman

    Simon Forman - 2005-03-29

    Logged In: YES
    user_id=1211654

    There's a 'tabnanny' module that cleans up python indent
    problems pretty well. Also, if you're using Idle there are
    tabbify and untabbify options in the format menu.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks