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 joe.amenta
Recipients Trundle, benjamin.peterson, exarkun, ezio.melotti, georg.brandl, joe.amenta, milko.krachounov, ncoghlan, pitrou
Date 2009-12-25.17:32:53
SpamBayes Score 1.6139801e-09
Marked as misclassified No
Message-id <1261762376.2.0.852600911935.issue7006@psf.upfronthosting.co.za>
In-reply-to
Content
I believe that this patch works like you described...

Attached a patch with more test cases to show this.

(the [1:] parts are to make the test cases readable; they will still pass 
if all the leading newlines are removed from the triple-quoted strings and 
all [1:] are removed :-)
History
Date User Action Args
2009-12-25 17:32:56joe.amentasetrecipients: + joe.amenta, georg.brandl, exarkun, ncoghlan, pitrou, benjamin.peterson, ezio.melotti, Trundle, milko.krachounov
2009-12-25 17:32:56joe.amentasetmessageid: <1261762376.2.0.852600911935.issue7006@psf.upfronthosting.co.za>
2009-12-25 17:32:54joe.amentalinkissue7006 messages
2009-12-25 17:32:54joe.amentacreate