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 pitrou
Recipients giampaolo.rodola, maker, pitrou, r.david.murray, terry.reedy, vinay.sajip
Date 2012-05-15.21:24:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337116950.3391.6.camel@localhost.localdomain>
In-reply-to <>
> I tried to find a way of avoiding changing global state in my test -
> but because of the problem I mention, I couldn't see a way of using
> smtpd without affecting global state.

Well, other tests manage it even without using a private socket map.
Leaving dangling sockets in the socket map could mean your code forgets
to close them, for example. So it's better to fix the code or the tests,
rather than try to defeat the detection mechanism.
Date User Action Args
2012-05-15 21:24:51pitrousetrecipients: + pitrou, terry.reedy, vinay.sajip, giampaolo.rodola, r.david.murray, maker
2012-05-15 21:24:50pitroulinkissue11959 messages
2012-05-15 21:24:50pitroucreate