i could never figure out how to do the application / twistd stuff...
not from where my code is now
essentially i have if(__name__ == '__main__'):
iffy has left the channel
oberstet joined the channel
efm has quit
efm joined the channel
thebigj has left the channel
jcline has quit
ashleyk has quit
ashleyk joined the channel
clokep has quit
clokep joined the channel
jcline joined the channel
clokep has quit
jfhbrook joined the channel
jcline has quit
jfhbrook
hey all, long time no see :) wondering if anyone can help me understand how Failure objects work? I want to do something similar in a decidedly non-twisted context and looking to see how Failures paper over issues w/ Exceptions
actually - maybe I don't have this issue since I'm working synchronously
🤔
jcline joined the channel
yeah ok, half-nevermind - going to move forward as though exc's will work for my use case, and if anyone is interested in talking to me about this hmu
in general we only do dot-releases like that to fix bad bugs if the following release is held up for some reason; you should not stick with older versions of twisted if newer ones exist :)
I was just curious, and that's okay. Debian has a 'backport' which is 18.4.0, for stretch.
glyph
right
the thing that debian does is terrible; you should avoid using debian's version of twisted. make a virtualenv for your application and put the newest version of twisted in there :)
nyov
:)
glyph
if you're writing a python application for debian, dh_virtualenv is a better option than trying to use the system's site-packages
ashleyk
agsv, you use reactor.addSystemEventTrigger
agsv, oh nevermind, task.react... im not sure on that one
agsv
ashleyk, I think ill just fall back to good ol' reactor.run
ashleyk
it may work the same way
agsv
well I could do some cleanup before returning the ending deferred