/usr/lib/python3/dist-packages/twisted/internet/__pycache__
NameSizeModeActions
abstract.cpython-310.pyc176100644editdlrm
address.cpython-310.pyc56700644editdlrm
asyncioreactor.cpython-310.pyc99550644editdlrm
base.cpython-310.pyc408700644editdlrm
cfreactor.cpython-310.pyc156380644editdlrm
default.cpython-310.pyc11720644editdlrm
defer.cpython-310.pyc687400644editdlrm
endpoints.cpython-310.pyc733480644editdlrm
epollreactor.cpython-310.pyc69210644editdlrm
error.cpython-310.pyc150360644editdlrm
fdesc.cpython-310.pyc31730644editdlrm
gireactor.cpython-310.pyc40980644editdlrm
glib2reactor.cpython-310.pyc14680644editdlrm
gtk2reactor.cpython-310.pyc25890644editdlrm
gtk3reactor.cpython-310.pyc18690644editdlrm
inotify.cpython-310.pyc108480644editdlrm
interfaces.cpython-310.pyc1173770644editdlrm
kqreactor.cpython-310.pyc85820644editdlrm
main.cpython-310.pyc9750644editdlrm
pollreactor.cpython-310.pyc59600644editdlrm
posixbase.cpython-310.pyc234570644editdlrm
process.cpython-310.pyc286110644editdlrm
protocol.cpython-310.pyc306580644editdlrm
pyuisupport.cpython-310.pyc9730644editdlrm
reactor.cpython-310.pyc19200644editdlrm
selectreactor.cpython-310.pyc53030644editdlrm
serialport.cpython-310.pyc27780644editdlrm
ssl.cpython-310.pyc89290644editdlrm
stdio.cpython-310.pyc9840644editdlrm
task.cpython-310.pyc321410644editdlrm
tcp.cpython-310.pyc466840644editdlrm
testing.cpython-310.pyc333470644editdlrm
threads.cpython-310.pyc42080644editdlrm
tksupport.cpython-310.pyc21690644editdlrm
udp.cpython-310.pyc165840644editdlrm
unix.cpython-310.pyc195310644editdlrm
utils.cpython-310.pyc93270644editdlrm
win32eventreactor.cpython-310.pyc138810644editdlrm
wxreactor.cpython-310.pyc48970644editdlrm
wxsupport.cpython-310.pyc16930644editdlrm
_baseprocess.cpython-310.pyc22160644editdlrm
_dumbwin32proc.cpython-310.pyc116270644editdlrm
_glibbase.cpython-310.pyc117910644editdlrm
_idna.cpython-310.pyc14940644editdlrm
_newtls.cpython-310.pyc87140644editdlrm
_pollingfile.cpython-310.pyc84760644editdlrm
_posixserialport.cpython-310.pyc21910644editdlrm
_posixstdio.cpython-310.pyc53090644editdlrm
_producer_helpers.cpython-310.pyc38670644editdlrm
_resolver.cpython-310.pyc84020644editdlrm
_signals.cpython-310.pyc28240644editdlrm
_sslverify.cpython-310.pyc684120644editdlrm
_threadedselect.cpython-310.pyc117550644editdlrm
_win32serialport.cpython-310.pyc37070644editdlrm
_win32stdio.cpython-310.pyc40240644editdlrm
__init__.cpython-310.pyc6080644editdlrm
Edit: /usr/lib/python3/dist-packages/twisted/internet/__pycache__/gireactor.cpython-310.pyc (4098B)
o b @sdZddlZddlmZddlmZddlmZddl m Z dZ ej eedddur1eGd d d ejZGd d d ejZdddZdgZdS)a This module provides support for Twisted to interact with the glib mainloop via GObject Introspection. In order to use this support, simply do the following:: from twisted.internet import gireactor gireactor.install() If you wish to use a GApplication, register it with the reactor:: from twisted.internet import reactor reactor.registerGApplication(app) Then use twisted.internet APIs as usual. On Python 3, pygobject v3.4 or later is required. N)GLib) _glibbase)ReactorAlreadyRunning)runtimeT threads_initc@s^eZdZdZejjejjBejjBZ ejj Z ejj Z e e BZe e BZdZdddZddZdS) GIReactorz GObject-introspection event loop reactor. @ivar _gapplication: A C{Gio.Application} instance that was registered with C{registerGApplication}. NFcC0d}|dur ddlm}tjj|t||ddSNTr)GtkuseGtk) gi.repositoryr rGlibReactorBase__init__rselfr _gtkr.run) _gapplication RuntimeError_startedrhasattr_runr_crash)rrrrrrregisterGApplicationLs    zGIReactor.registerGApplicationF)__name__ __module__ __qualname____doc__r IOConditionHUPERRNVAL_POLL_DISCONNECTEDIN_POLL_INOUT _POLL_OUTINFLAGSOUTFLAGSrrr!rrrrr.s  rc@s"eZdZdZdddZddZdS) PortableGIReactorz< Portable GObject Introspection event loop reactor. FcCrr )r r rPortableGlibReactorBaserrrrrrrqrzPortableGIReactor.__init__cCstd)z Register a C{Gio.Application} or C{Gtk.Application}, whose main loop will be used instead of the default one. z3GApplication is not currently supported on Windows.)NotImplementedError)rrrrrr!xsz&PortableGIReactor.registerGApplicationNr")r#r$r%r&rr!rrrrr2ls  r2FcCs<tjdkr t|d}nt|d}ddlm}|||S)z Configure the twisted mainloop to be run inside the glib mainloop. @param useGtk: should GTK+ rather than glib event loop be used (this will be slightly slower but does support GUI). posixr r)installReactor)rplatformgetTyperr2twisted.internet.mainr6)r reactorr6rrrinstalls    r;r")r&gi.pygtkcompatgir rtwisted.internetrtwisted.internet.errorrtwisted.pythonr_pygtkcompatPresent pygtkcompatenablegetattrrrrr3r2r;__all__rrrrs     >