str/int: Controversial breaking change added to Python

New breaking changes were just introduced in Python. The default behavior of how int to string and string to int conversions work has been changed, with a limit being set on the number of allowed digits, with the default limit now being 4300. The old behavior can be configured using a new sys call, but why was this change introduced in the first place? In this video, we go over the change, the underlying algorithmic and security reasons it was added, and present different viewpoints of community members both in favor of and against the changes. ― mCoding with James Murphy () Voice your opinion: Source code: Conversion limit docs: #int-max-str-digits Conversion implementations: CPython GitHub issue: Work on faster algorithms: Mitre CVE page: RedHat initial CVE report: RedHat CVE “public on“: SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! Feeling generous but don’t have a Patreon? Donate via PayPal! (No sign up needed.) Want to donate crypto? Check out the rest of my supported donations on my website! Top patrons and donors: Jameson, Laura M, Vahnekie, Dragos C, Matt R, Casey G, Johan A, John Martin, Jason F, Mutual Information, Neel R BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: Github: Reddit: Facebook:
Back to Top