Skip to content

gh-123853: Cleanup Windows 95 locale fallback support#144738

Open
mokurin000 wants to merge 2 commits intopython:mainfrom
mokurin000:chore/cleanup-win95-locale
Open

gh-123853: Cleanup Windows 95 locale fallback support#144738
mokurin000 wants to merge 2 commits intopython:mainfrom
mokurin000:chore/cleanup-win95-locale

Conversation

@mokurin000
Copy link

@mokurin000 mokurin000 commented Feb 12, 2026

This removed the dead code windows_locale dict, as Windows introduced LOCALE_SISO639LANGNAME and LOCALE_SISO3166CTRYNAME since Windows 98.

Changes:

  • Removed dead code windows_locale dict from Lib/locale.py
  • Removed 0x fallback branch for Windows 95 or earlier in Modules/_localemodule.c
  • Applied ruff formatting to Lib/locale.py

@bedevere-app

This comment was marked as resolved.

1 similar comment
@bedevere-app

This comment was marked as resolved.

@mokurin000 mokurin000 force-pushed the chore/cleanup-win95-locale branch from ee5da1b to 49f6613 Compare February 12, 2026 11:10
@bedevere-app

This comment was marked as resolved.

@mokurin000
Copy link
Author

cc. @malemburg @serhiy-storchaka

Hi! Could you take a look on these changes?

@mokurin000 mokurin000 force-pushed the chore/cleanup-win95-locale branch from 1e06126 to 2d24222 Compare February 12, 2026 12:18
@mokurin000 mokurin000 force-pushed the chore/cleanup-win95-locale branch 3 times, most recently from 268c941 to 860f971 Compare February 12, 2026 16:55
@mokurin000 mokurin000 force-pushed the chore/cleanup-win95-locale branch from 860f971 to 26b6055 Compare February 13, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants