hi there, folks:
I'd really like to release 0.7.0 but I would like it to be at least a
little bit tested before I do so. Could those of you with CVS trees check
everything out and see if it performs as advertised? Deeper bugs than
that will have to wait for the next release, but I'd at least like to know
if it works for someone other than me.
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
Last week I did some work and updated twistedchecker
so that it uses pylint >= 2.4.4. Before that, it was using a really old
twistedchecker is run over the Twisted code as part of CI, and reports
various style issues. Now that twistedchecker is using a newer pylint,
it should be compatible with newer Python language features.
Now that Twisted supports Python 3.5+ (with Python 2.7 support being
is it OK to start using newer features of the Python language in the
such as type hints ( https://docs.python.org/3/library/typing.html )?
I don't have experience with that feature, but it looks like it could be
when combined with a tool like mypy. Does anyone else have opinions on
type hints and mypy?
I'd like to develop a server that maintains a TCP connection to an
upstream server, and listens for HTTP requests. Upon receiving an HTTP
request, the server will send a message upstream, wait for a response,
and return an HTTP response to the client which made the request.
My background is in writing blocking web services, so my natural
instinct is to write a `get_result_for(query)` method that will take a
`query` string and return a result from the upstream TCP connection.
I'm not sure whether writing such a method is possible in Twisted,
since it's basically a blocking method. I suspect I may have to use
Continuation-Passing Style instead, that is: provide a callback to
Even if that's the case, how do I return an HTTP response to the HTTP
client once the query result is available?
I am real need to debug my python application for memory issues. I
found that using twisted.conch.manhole we can get a telnet session to
python interpreter so that we can do some debugging sessions there. I
am using twisted 16.6 in my server. Could you some one please give me
some sample program for achieving this.
PS: I have posted this message in stack overflow. Sorry for cross
posting. I have joined this group only today.