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 Rosuav
Recipients Rosuav, twouters, yselivanov
Date 2014-02-27.20:59:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393534760.51.0.538154047137.issue20739@psf.upfronthosting.co.za>
In-reply-to
Content
I've applied all the changes my script can find, including ones that are actually quite inappropriate, like:

    try:
        some_function_call()
    except some_exception:
        some_other_function_call()

All tests pass except for one, which I don't fully understand. Attaching patches:

1) make_stuff_work.diff - what it says on the tin. I don't understand everything that's going on in there, but the build process made some changes to tracked files.

2) churn1.diff - mostly-plausible edits. They're unnecessary code churn, and shouldn't be done wholesale like this, but they make the obvious changes.

3) churn2.diff - less plausible edits, in the two-expression form shown above. These definitely shouldn't be done... but they don't break any of the tests, so they're a reasonable proof that the concept works.

4) broken.diff - for some reason that I don't understand, this causes a test failure. Something that's supposed to produce no output now produces a warning. I cannot figure out how there's a difference in there. Advice please?

The broken one is of the inappropriate type, but the fact that it doesn't work seems... indicative, somehow. Indicative of what, I don't know, and it's 8AM after I've been up all night, so I'm not going to try further to figure this out.
History
Date User Action Args
2014-02-27 20:59:21Rosuavsetrecipients: + Rosuav, twouters, yselivanov
2014-02-27 20:59:20Rosuavsetmessageid: <1393534760.51.0.538154047137.issue20739@psf.upfronthosting.co.za>
2014-02-27 20:59:20Rosuavlinkissue20739 messages
2014-02-27 20:59:20Rosuavcreate