Alas that it is not unusual for python questions to be "Marked as Duplicate" because the same question was answered 10 years ago for Python 2. Python questions bring out some of the worst features of SO and some of the best features of Gen AI.
Unfortunately SO has incentivized marking-as-duplicate by a mob of people who are not skilled at discerning the distinctions between issues. The distinctions would have been clear to the original question askers and answers who devoted time to the topic but not to people taking a "mile high" view years later and with no "skin in the game". It is unfortunate because knowledge is being lost to incorrectly tuned gamification incentives.