Ticket #2066 enhancement closed fixed
Restarting a reactor should raise an exception
| Reported by: | TimothyFitz | Owned by: | |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | easy |
| Cc: | TimothyFitz | Branch: |
branches/reactor-restart-raise-2066
(diff, github, buildbot, log) |
| Author: | Launchpad Bug: |
Description
About once a month someone asks twisted-python why they have really strange behaviour, and happen to be restarting the reactor. Restarting the reactor is unsupported (currently, by all implementors, nothing prevents it from being implemented) so these all fail, but always fail poorly. A call to reactor.run() after reactor.stop() should raise an exception that clearly says "This reactor does not support restarting" or "Reactors do not support restarting".
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

