Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. 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.
    
  5. foundin changed to: "9.0.3"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "52. Portability Support"
  14. title changed to:
    [platform] OS identifier changed from 'macosx-x86_64' to 'macos-x86_64' in Tcl/Tk 9.0.3
    
  15. type changed to: "Support"