[Twisted-Python] Porting twisted.spread.banana to py3
Itamar Turner-Trauring
itamar at itamarst.org
Wed Jul 1 10:40:32 MDT 2015
On 2015-07-01 05:33, Jørn Lomax wrote:
> I'm a gsoc student working on the buildbot project, porting it to py3. Part of this is looking at porting the dependencies buildbot has in twisted and try to port them.
>
> twisted.spread is the most used twisted dependency, so I have started working on this. I started working on banana.py and I have encountered a question. In dataRecieved (banana.py:174). A chunk is added to the buffer. On python3, how should the distinction be made between string and bytes. Buffer seems to be a string, the chunk seems to be bytes, and sometimes opposite.
Banana calls bytes "string". So if you're using banana there is only
bytes support. Python 3 vs 2 doesn't matter, it's always going to be
bytes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150701/819b9fbe/attachment-0002.html>
More information about the Twisted-Python
mailing list