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 michael.foord
Recipients kakuma, kushal.das, michael.foord
Date 2014-06-06.14:53:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402066393.09.0.314044379091.issue21600@psf.upfronthosting.co.za>
In-reply-to
Content
That's better - thanks. Another minor tweak needed though. stopall should only stop patches that were started with "start", not those used as context managers or decorators (or they will be stopped twice!). 

See how the main patch object only adds to the set of active patches in the start method, not in __enter__ (and removes in stop rather than __exit__).
History
Date User Action Args
2014-06-06 14:53:13michael.foordsetrecipients: + michael.foord, kushal.das, kakuma
2014-06-06 14:53:13michael.foordsetmessageid: <1402066393.09.0.314044379091.issue21600@psf.upfronthosting.co.za>
2014-06-06 14:53:13michael.foordlinkissue21600 messages
2014-06-06 14:53:12michael.foordcreate