Restarting a reactor should raise an exception
|Reported by:||TimothyFitz||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
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".
Change History (12)
comment:3 Changed 6 years ago by
|Priority:||normal → highest|