User: Password:
Subscribe / Log in / New account

Moving to Python 3

Moving to Python 3

Posted Feb 17, 2011 14:27 UTC (Thu) by foom (subscriber, #14868)
In reply to: Moving to Python 3 by spitzak
Parent article: Moving to Python 3

+1000 to the sentiment. Decoding bytes to codepoints is a total waste of time, almost always, and just adds unnecessary complication to the system.

However, as I said in python3 *does* do non-lossy decoding/encoding for filenames with random bytes in them.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds