Overview
| Artifact ID: | 264f17bb07543e4a724ab0c0999de8d2b4984d60773e106e93d0a8188dcdff8c |
|---|---|
| Ticket: | 15181c460701df7e1d9d5cd93fc10c1aafc85d21
[platform] OS identifier changed from 'macosx-x86_64' to 'macos-x86_64' in Tcl/Tk 9.0.3 |
| User & Date: | anonymous on 2026-05-07 09:52:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
After upgrading to Tcl/Tk 9.0.3, I noticed a change in the value returned by the platform::generic command on macOS. Previous behavior (Tcl/Tk 9.0.1): % package require platform % platform::generic => macosx-x86_64 Current behavior (Tcl/Tk 9.0.3): % package require platform % platform::generic => macos-x86_64 The 'x' has been dropped from 'macosx', changing it to 'macos'. This is a breaking change for any code that relies on string matching against the platform identifier (e.g., switch statements, package lookup paths, or conditional compilation logic based on the OS name). Could you please clarify: 1. Was this change intentional? If so, what motivated it? 2. Is there a migration guide or compatibility shim available for code that relied on the old identifier? 3. Going forward, should users expect this kind of identifier change to happen across minor or patch versions? Is there a stability guarantee for values returned by platform::generic and platform::identify? Thank you for your time.
- foundin changed to: "9.0.3"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "52. Portability Support"
- title changed to:
[platform] OS identifier changed from 'macosx-x86_64' to 'macos-x86_64' in Tcl/Tk 9.0.3
- type changed to: "Support"