Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03bfea39d6eb5b3f6dafe9b6d0e0f555274e5b1a2712ca8555cf2ff40d0753eb
Ticket: a34733451b2cf189528061944466cf7ce7015008
Regression with TIP #636 in foreach
User & Date: pooryorick on 2023-07-12 13:37:54
Changes

  1. icomment:
    The TIP #636 code should be reverted from trunk until it can be successfully merged without causing this regression.  I've warned that TIP 636 is not ready for prime time, and this issue report is evidence of that.  TclDuplicatePureObj() should not be compromised in order to accommodate TIP 636.  Rather, the TIP 636 should be modified to not interact with TclDuplicatePureObj() at all.  If the TIP 636 work does interact with TclDuplicatePureObj() it is a bug in the implementation of TIP 636.  TclDuplicatePuerObj() should not be modified to be sensitive to internal representations that seem to implement a Tcl_Obj interface.  Such a modification would be a hack in lieu of a correct implementation of TIP 636.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"