◐ Shell
clean mode source ↗

gh-136702: Clear codec caches for refleak tests; use test.support helpers by encukou · Pull Request #141345 · python/cpython

Conversation

@encukou

@encukou encukou commented

Nov 10, 2025

edited by bedevere-app Bot

Loading

malemburg

"Support for non-ascii encoding names will be removed in 3.17"):
msg = "Support for non-ascii encoding names will be removed in 3.17"
with warnings_helper.check_warnings((msg, DeprecationWarning)):
self.assertEqual(normalize('utf\xE9\u20AC\U0010ffff-8'), 'utf_8')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have to bump the 3.17 to 3.20 if we want to have a 5 year deprecation phase.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's up for discussion in the issue; here I'm only unbreaking the buildbots.

@bedevere-bot

@encukou encukou deleted the clear-codec-caches-in-regrtest branch

November 10, 2025 13:42

@StanFromIreland

Thanks Petr! I encountered this issue with the Android CI, and I though I had it fixed:-(

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025

Labels