[Twisted-Python] Python3: should paths be bytes or str?

Glyph glyph at twistedmatrix.com
Wed Sep 10 01:26:13 MDT 2014


On Sep 9, 2014, at 7:40 PM, Wolfgang Rohdewald <wolfgang.kde at rohdewald.de> wrote:

> Am Montag, 8. September 2014, 23:01:50 schrieb Glyph:
>> This implies a parallel structure might be possible for FilePath:
>> if you pass its constructor bytes, you get a BytesFilePath;
>> if you pass it text, you get a TextFilePath.  You can't mix the two,
>> and once you've chosen a path you can't choose a different one.
> 
> this sounds good. After the port of pb to PY3 is done, I might have
> a look at it, it probably should be done before trying to port
> modules.py and trial to PY3. 

Thank you very much for putting all this work in.  I encourage you to also get involved with doing code reviews, so that the >50 tickets currently on <https://twistedmatrix.com/trac/report/25> won't distract other reviewers from ever getting to your contributions! :)

-glyph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140910/c4db4db4/attachment-0002.html>


More information about the Twisted-Python mailing list