Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-09-15 Thread Glyph
On Sep 11, 2013, at 10:48 AM, Zooko Wilcox-OHearn wrote: > We can instead *require* > the user to supply a type with the bytestring originally, and then > remember the type that the user supplied. This breaks only a few use > cases that are probably very rare, and in fact might be unfixable > an

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-09-11 Thread Zooko Wilcox-OHearn
Hello, Harry! I just noticed this thread. I opened a ticket for this a while back: https://twistedmatrix.com/trac/ticket/5203# FilePath.children() should return FilePath objects with unicodes in them instead of strs There is some discussion on that ticket. For what it is worth, I agree with It

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-15 Thread Glyph
First off, hi Harry! I am super glad that someone has taken an interest in this. Please let me know if I can be helpful in your effort to fix this. FilePath totally has the right sort of shape to handle all these problems very gracefully, but its current implementation is (as you have noticed

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Itamar Turner-Trauring
On 07/14/2013 10:18 AM, Harry Bock wrote: Is this something I can open a ticket for? I believe there's already a ticket of sorts, with an old defunct branch starting working on this - https://twistedmatrix.com/trac/ticket/2366 - it would be really great if you could revive it and add support

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Harry Bock
On Sun, Jul 14, 2013 at 8:16 AM, Itamar Turner-Trauring wrote: > On 07/13/2013 10:00 PM, Harry Bock wrote: > >> Hi all, >> >> My name is Harry Bock. I'm interested in helping out porting Twisted to >> Python 3, and I've popped in IRC a few times to introduce myself and ask a >> few questions. A

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Itamar Turner-Trauring
On 07/13/2013 10:00 PM, Harry Bock wrote: Hi all, My name is Harry Bock. I'm interested in helping out porting Twisted to Python 3, and I've popped in IRC a few times to introduce myself and ask a few questions. A few developers agreed that working on trial dependencies would be a big help.

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Tristan Seligmann
On Sun, Jul 14, 2013 at 4:00 AM, Harry Bock wrote: > (b) Misunderstandings at the application level about the underlying > filesystem's path encoding is not the problem of the Twisted API. Correct > me if I'm wrong, but that's the responsibility of the system administrator > or individual user (