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 eric.araujo
Recipients benjamin.peterson, eric.araujo, gregmalcolm, python-dev, r.david.murray
Date 2013-04-22.15:21:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366644108.89.0.106189542817.issue9607@psf.upfronthosting.co.za>
In-reply-to
Content
Just wanted to note that addCleanup is smarter than many core devs think:

self.addCleanup(lambda: setattr(keyword, 'kwlist', oldlist))

self.addCleanup(setattr, keyword, 'kwlist', oldlist)
History
Date User Action Args
2013-04-22 15:21:48eric.araujosetrecipients: + eric.araujo, benjamin.peterson, r.david.murray, gregmalcolm, python-dev
2013-04-22 15:21:48eric.araujosetmessageid: <1366644108.89.0.106189542817.issue9607@psf.upfronthosting.co.za>
2013-04-22 15:21:48eric.araujolinkissue9607 messages
2013-04-22 15:21:48eric.araujocreate