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 stutzbach
Recipients JosephArmbruster, stutzbach
Date 2009-03-30.01:07:21
SpamBayes Score 1.4749442e-06
Marked as misclassified No
Message-id <1238375243.2.0.835648092758.issue2560@psf.upfronthosting.co.za>
In-reply-to
Content
This patch looks good to me and applies cleanly to the trunk.  Here's a
synopsis of the code (before the patch) in question:

static int
my_fgets(char *buf, int len, FILE *fp)
{
    for(;;) {
          /* a bunch of code that does not contain break or continue */
          return -2;
    }
}

The patch removes the extraneous for loop and un-indents the inside of
the loop.  However, the patch changes that section of code to use
4-space indents while the rest of the file uses 8-space indents.
History
Date User Action Args
2009-03-30 01:07:23stutzbachsetrecipients: + stutzbach, JosephArmbruster
2009-03-30 01:07:23stutzbachsetmessageid: <1238375243.2.0.835648092758.issue2560@psf.upfronthosting.co.za>
2009-03-30 01:07:22stutzbachlinkissue2560 messages
2009-03-30 01:07:21stutzbachcreate