|
|
Log in / Subscribe / Register

2to3?

2to3?

Posted May 22, 2025 22:22 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: 2to3? by zahlman
Parent article: Recent disruptive changes from Setuptools

Python was horribly broken until around 3.5, when they finally re-allowed "+" and format operations for mixed strings/bytes ( https://peps.python.org/pep-0461/ ).

I spent countless hours debugging issues caused by an error handler somewhere that did not have a correct encode/decode for one of the arguments. It was painful.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


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