Author ezio.melotti
Recipients chepner, ezio.melotti, michael.foord, seanmccully
Date 2014-08-06.09:18:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the patch, however I don't think this is a robust solution.
Other objects might have undeletable attributes too.

The current code can delete an attribute without restoring it so an easy solution would be removing the hasattr() check, but that seems to be there to deal with proxy objects, so doing that will probably break them (Lib/unittest/test/testmock/ seems to test proxy object).
Date User Action Args
2014-08-06 09:18:51ezio.melottisetrecipients: + ezio.melotti, michael.foord, chepner, seanmccully
2014-08-06 09:18:50ezio.melottisetmessageid: <>
2014-08-06 09:18:50ezio.melottilinkissue22138 messages
2014-08-06 09:18:50ezio.melotticreate