[Twisted-Python] Bytes vs unicode in twisted.python.logfile's python3 porting

Laurens Van Houtven _ at lvh.io
Sun Oct 27 07:57:28 MDT 2013


Hi JP,


On Sun, Oct 27, 2013 at 2:19 AM, <exarkun at twistedmatrix.com> wrote:

> *Or*, it now occurs to me, just stick with the ASCII-only policy that's
> already in place.  I'd even say this is more correct since porting isn't
> supposed to change behavior.  Leave support for some other codec for
> another ticket (perhaps #989).  Apart from being simpler (I hope) and
> avoiding breaching the documented porting guidelines, this also means
> someone will actually have to think about unicode support on Python 2 as
> well.  Saying we support unicode in the logging system is a lot better than
> saying we support unicode in the logging system on Python 3 only.
>

Did this.

There's a few Windows-specific bugs left on the ticket that I don't know
how to fix, unfortunately.

cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20131027/fd769cc0/attachment.html>


More information about the Twisted-Python mailing list