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 terry.reedy
Recipients georg.brandl, john.feuerstein, terry.reedy
Date 2011-10-14.23:40:11
SpamBayes Score 0.004376152
Marked as misclassified No
Message-id <1318635612.17.0.0504440903398.issue13152@psf.upfronthosting.co.za>
In-reply-to
Content
I am a bit surprised this was not part of the original design.
'Tabsize' make 'expand_tabs' redundant and tabsize==0 could be interpreted as expand_tabs==False. On the other hand, the meaning of 'expand_tabs' could be expanded to include the tabsize. I am almost tempted to suggest making expand_tabs > 1 be interpreted as tabsize and make expand_tabs==True(1, the current default) be interpreted as expand_tabs==8 (the new default) for back_compatibility.

Patch as is has new tests and looks good on first reading.
History
Date User Action Args
2011-10-14 23:40:12terry.reedysetrecipients: + terry.reedy, georg.brandl, john.feuerstein
2011-10-14 23:40:12terry.reedysetmessageid: <1318635612.17.0.0504440903398.issue13152@psf.upfronthosting.co.za>
2011-10-14 23:40:11terry.reedylinkissue13152 messages
2011-10-14 23:40:11terry.reedycreate