tubeshowcase●1,138,438 videos♡ My collection 0
← Learn to Code

Learn to Code06:18

str/int: Controversial breaking change added to Python

mCoding ↗

From the creator

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 (https://mcoding.io) Voice your opinion: https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889 Source code: https://github.com/mCodingLLC/VideosSampleCode Conversion limit docs: https://docs.python.org/3/library/stdtypes.html#int-max-str-digits Conversion implementations: https://github.com/python/cpython/blob/main/Objects/longobject.c CPython GitHub issue: https://github.com/python/cpython/issues/95778 Work on faster algorithms: https://github.com/python/cpython/issues/90716 Mitre CVE page: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735 RedHat initial CVE report: https://bugzilla.redhat.com/show_bug.cgi?id=1834423 RedHat CVE "public on": https://access.redhat.com/security/cve/CVE-2020-10735 SUPPORT ME ⭐ --------------------------------------------------- Patreon: https://patreon.com/mCoding Paypal: https://www.paypal.com/donate/?hosted_button_id=V

Published 2022-09-12 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code