GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — calendar module fails to import on Wine due to incomplete %OB error handling · Issue #155245 · python/cpython Open Labels OS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionTitle: calendar module fails to import on Wine due to incomplete %OB error handling Component: Library (Lib) Summary:The calendar module added in Python 3.15 (gh-131146) fails to import when running The try/except block catches ValueError during _localized_month object construction, Steps to Reproduce:
Expected Result:calendar module imports successfully, falling back to month_name/month_abbr Actual Result:Traceback (most recent call last): Analysis:In Lib/calendar.py lines 143-156: try: The _localized_month constructor just stores the format string; the actual Suggested Fix:Wrap the set() comparison in the else block with try/except: try: Impact:This breaks Python 3.15 compatibility with Wine, affecting users who build Related:
Linked PRsActivity
MetadataMetadataAssigneesLabelsOS-unsupportedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |