Message108867
This is how it gets in an "invalid state". Not sure why you can't look at the code and see the mistake.
"There is no code in the
SMTPServere.__init__ method that catches the exception raised, caused by
the failed bind attempt. After the exception is caught, the first thread
continues to run, but asyncore is in an invalid state because it still
has the registration of the second SMTPServer instance that never completed."
As far as running in a thread. I have a program that needs must start and stop the SMTPServer dynamically. I did this by putting SMTPServer in a thread. Maybe there is another way to do it, but if you are not going to support this, then it should be documented. |
|
Date |
User |
Action |
Args |
2010-06-28 21:00:58 | cmcginty | set | recipients:
+ cmcginty, ggenellina, giampaolo.rodola |
2010-06-28 21:00:58 | cmcginty | set | messageid: <1277758858.7.0.34774892515.issue6589@psf.upfronthosting.co.za> |
2010-06-28 21:00:56 | cmcginty | link | issue6589 messages |
2010-06-28 21:00:56 | cmcginty | create | |
|