twisted / twisted

Event-driven networking engine written in Python.
https://twisted.org
Other
5.58k stars 1.17k forks source link

Debug mode for reactor #10612

Open twisted-trac opened 19 years ago

twisted-trac commented 19 years ago
itamarst's avatar @itamarst reported
Trac ID trac#792
Type enhancement
Created 2004-11-26 00:58:41Z
Searchable metadata ``` trac-id__792 792 type__enhancement enhancement reporter__itamarst itamarst priority__low low milestone__ branch__ branch_author__ status__new new resolution__ component__core core keywords__ time__1101430721000000 1101430721000000 changetime__1209503229000000 1209503229000000 version__ owner__itamarst itamarst cc__itamarst cc__zooko ```
twisted-trac commented 19 years ago
itamarst's avatar @itamarst commented
#!html
<pre>
Or really more debuggability in general. Or maybe add to twistd -b mode. Maybe
we need a twisted.internet.debug that has list of useful hooks it enables so we
have a unified place for debug mode stuff.
</pre>
twisted-trac commented 19 years ago
itamarst's avatar @itamarst commented
#!html
<pre>
For debugging. reactor.addWriter and reactor.callLater and maybe a wee
monkeypatch of FileDescriptor should catch most such bugs.
</pre>
twisted-trac commented 18 years ago
itamarst's avatar @itamarst commented

Original title was "Reactor that complains when non-threadsafe APIs are called from a thread" - I'm changing to "debug more for reactor". Additional things might be interface enforcement, all import enforcement, etc..