[Twisted-Python] Converting str to bytes in Py3 port

2015-09-02 Thread Adi Roiban
Hi, While reviewing the latest patch related to porting Twisted to py3 I saw that many values which were supposed to hold just text were ported as bytes. The argument for this conversion was that Twisted is a low level framework and that other high level framworks like Treq or Klein should implem

[Twisted-Python] Auto-Re: Converting str to bytes in Py3 port

2015-09-02 Thread wangliyu
÷]yómxã]}Ó­5ÓÏvÔ*'µéíO*^µìmþ™ZŠw!j»___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] understanding IConsumer

2015-09-02 Thread Roshan Cherian
Hi Team, I am sorry if this is coming off as a newbie question. Its probably because I don't understand it enough. I would like to: 1. connectTCP to a host, port 2. use the transport to write 3. Use consumer to read from the transport what the tcp server has written to I wasn't able to find inf