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-07-09.04:17:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341807452.43.0.635732107393.issue12510@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for the 'positive lookbehind assertion' for anchoring the match after '('. That is what I was missing. '[^,]' is too broad as, in particular, it matches the ')' in 'a(self)'. We don't want the ')' removed. The tests passed with a faulty re because the method test was faulty in that it only tested that something is removed, but not that the removal is correct. I fixed the tests also to really test proper removal.
History
Date User Action Args
2012-07-09 04:17:32terry.reedysetrecipients: + terry.reedy, ned.deily, roger.serwy, python-dev, Roy.Fox
2012-07-09 04:17:32terry.reedysetmessageid: <1341807452.43.0.635732107393.issue12510@psf.upfronthosting.co.za>
2012-07-09 04:17:31terry.reedylinkissue12510 messages
2012-07-09 04:17:31terry.reedycreate