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 Roy.Fox, ned.deily, python-dev, roger.serwy, terry.reedy
Date 2012-06-08.00:14:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I decided to commit the current patch (i12510c.test.diff + NEWS changes) as is. Another change is needed to correctly delete the first arg of all methods, not just instance methods with the first arg named 'self'. (In the current new classmethod test, I just allowed non-removal of 'cls'. There should also be a test with a variant of 'self'.)

In _self_pat = re.compile('self\,?\s*'), 'self' in the pattern should be replaced by '(xxx', where 'xxx' is the pattern that matches an identifier. (And add '(' to the replacement pattern.) If anyone can quickly tell me what that is, that would be helpful.
Date User Action Args
2012-06-08 00:14:34terry.reedysetrecipients: + terry.reedy, ned.deily, roger.serwy, python-dev, Roy.Fox
2012-06-08 00:14:30terry.reedysetmessageid: <>
2012-06-08 00:14:28terry.reedylinkissue12510 messages
2012-06-08 00:14:23terry.reedycreate