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 Todd.Rovito
Recipients Todd.Rovito, asvetlov, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-04-02.04:16:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364876165.69.0.401573968023.issue16887@psf.upfronthosting.co.za>
In-reply-to
Content
Roger,
  I tested the patch and it does seem to function as you describe so feel free to apply the patch.  The tabify function makes me scratch my head a little, according to help.txt:
"Tabify Region       -- Turns *leading* stretches of spaces into tabs
	(Note: We recommend using 4 space blocks to indent Python code.)"

Yet this code doesn't seem to get tabifyed.
a=[1,2,3,4,5]
for i in range(0, len(a)):
 print("%d" % a[i])

I would expect that the print statement be tabbed in but on my Mac it does not seem to do that it just puts back in the single space in front of the print.  This might be a separate issue but I was wondering if perhaps I misunderstand the purpose of this function?
History
Date User Action Args
2013-04-02 04:16:05Todd.Rovitosetrecipients: + Todd.Rovito, terry.reedy, roger.serwy, asvetlov, serhiy.storchaka
2013-04-02 04:16:05Todd.Rovitosetmessageid: <1364876165.69.0.401573968023.issue16887@psf.upfronthosting.co.za>
2013-04-02 04:16:05Todd.Rovitolinkissue16887 messages
2013-04-02 04:16:05Todd.Rovitocreate