I am trying to learn Twisted. I found few method names weren't pep8 compatible. I can assume, those might have launched as an early API. And it isn't changing because of maitaining API compatiblity.
hitman23, you don't need to use inlineCallbacks to use async/await
hitman23, Deferreds are themselves awaitable, so you can await any callable that returns a Deferred
hitman23, top level APIs like twisted.internet.task.react work in terms of Deferreds, however, so you often need to wrap coroutines in a Deferred
hitman23, do that with twisted.internet.task.ensureDeferred
note that this describes how to use async/await within twisted-only code; if you want to use twisted with asyncio, you need to do some other things as well
kenaan
markrwilliams submitted <https://tm.tl/#9438> - twisted.web.static.File directory listings return unicode instead of bytes on Python 2 (unassigned) for review
markrwilliams reviewed <https://tm.tl/#9432> - twisted.web.static.Data parameters are undocumented (unassigned)
zeripath has quit
hitman23 has quit
terrycojones has quit
terrycojones joined the channel
new core enhancement https://tm.tl/#9439 by markrwilliams: twisted.internet.test.test_tcp.StreamTransportTestsMixin.test_closePeerOnEMFILE depends on client state
efphe joined the channel
markrwilliams submitted <https://tm.tl/#9439> - twisted.internet.test.test_tcp.StreamTransportTestsMixin.test_closePeerOnEMFILE depends on client state (unassigned) for review
exarkun reviewed <https://tm.tl/#9439> - twisted.internet.test.test_tcp.StreamTransportTestsMixin.test_closePeerOnEMFILE depends on client state (assigned to markrwilliams)