Re:Python behind the scenes #8: how Python integers work
by rtpg on Tuesday February 09, 2021 @08:00PM
(#26084625)
this is a post from 16 years ago, and there might be someone who comes around with a solution that resolves his concerns (granted, I feel like it would be hard to come up with a great solution in a language like C, having some ubiquitous unwrapping mechanism + better type checking would make this doable though....)
[ Parent
| on HN ]
Re:Python behind the scenes #8: how Python integers work
by pansa2 on Tuesday February 09, 2021 @08:20PM
(#26084761)
> this is a post from 16 years ago
Sure, but the only opportunity to change this was along with the other breaking changes in Python 3.0, which is now 12 years old.
Re:Python behind the scenes #8: how Python integers work
by KMag on Wednesday February 10, 2021 @01:35AM
(#26086235)
It might still be possible to change, by changing the macros that unwrap integers to support tagged integers, then waiting a decade or two before actually starting to use tagged integers. Things that hadn't been recompiled in a decade or two, but were for some reason running the latest interpreter would break. Presumably the number of breakages would be negligible.