This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abacabadabacaba
Recipients abacabadabacaba
Date 2015-05-21.21:45:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the documentation, it is said:

    Indentation is rejected as inconsistent if a source file mixes tabs and spaces in a way that makes the meaning dependent on the worth of a tab in spaces; a TabError is raised in that case.

But that's not true. For example, Python thinks that these two indentations are "consistent":

<tab><8 spaces>
<8 spaces><tab>

However, their width would be different for any tab width except 1, 2, 4, and 8.

Actually, it's not easy to check that indentation is "consistent" as it is defined currently, so I think that it is the documentation that should be changed. So, I think that the paragraph that I quoted above should be changed to match the actual behavior.
Date User Action Args
2015-05-21 21:45:51abacabadabacabasetrecipients: + abacabadabacaba
2015-05-21 21:45:51abacabadabacabasetmessageid: <>
2015-05-21 21:45:51abacabadabacabalinkissue24260 messages
2015-05-21 21:45:51abacabadabacabacreate