On Nov 5, 8:25 am, Terry Reedy <tjre...@udel.edu> wrote: > On 11/4/2010 10:47 PM, Rustom Mody wrote: > > > As far as I am concerned python would not be python if its > > indentation=structure went. However the original question -- mixing > > tabs and spaces is bad -- has got lost in the flames. Do the most > > die-hard python fanboys deny this? > > Of course not. Not mixing tabs and spaces has been the recommendation > for perhaps a decade. > > > And if not is it asking too much (say in python3) that mixing tabs and > > spaces > > > be flagged as an error or at least warning? > > Making all mixture an error was considered but rejected as causing too > much gratuitous breakage. One reason: you cut code from some source with > the 'other' style and paste into code with 'your' style. Should you be > *forced* (rather than merely advised) to convert before running the > result even once. Guido decided that there was enough breakage from > important things like unicode text and all new-style classes.
That means that obvious and easily repairable-with-trivial-tools breakage is being traded for more insidious breakage > > On the other hand, someone said that ambiguous mixtures now are prohibited. > Not sure I understand the issues here. -- http://mail.python.org/mailman/listinfo/python-list