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

Wolfgang Rohdewald wolfgang.kde at rohdewald.de
Tue Sep 9 20:40:00 MDT 2014


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. 

-- 
Wolfgang




More information about the Twisted-Python mailing list