New submission from Sworddragon:

Python 2 provided this command line option:

"-t     Issue a warning when a source file mixes tabs and spaces for 
indentation in a way that makes it depend on the worth of a tab expressed in 
spaces.  Issue an error when the option is given twice."


I'm wondering why it doesn't exist anymore in Python 3. I wanted to make some 
tests to figure this out but I'm not able to trigger this behavior in Python 2. 
All my examples will result in throwing an exception with and without -tt or 
never throwing an exception with or without -tt. But I'm also having 
difficulties to understand what the second part of the sentence does mean. Can 
somebody maybe provide an example where "python2 -tt" will fail but "python2" 
not?

----------
components: Interpreter Core
messages: 202408
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Strict indentation in Python3
type: enhancement
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to