Tcl Source Code

View Ticket
Login
Ticket UUID: d92ec5a2d4fd8b92f7b1442e3e0b22e6cd30cffa
Title: TIP 346 not marked as provisional for Tcl 8.7
Type: Bug Version:
Submitter: pooryorick Created on: 2023-02-14 13:30:15
Subsystem: 16. Commands A-H Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2023-02-14 13:55:22
Resolution: None Closed By: nobody
    Closed on: 2023-02-14 13:51:23
Description:

TIP 601 for Tcl 9 made errors in an encoding/decoding process into script-level errors. TIP 346 subsequently introduced -strict to provisionally bring make this behaviour from Tcl 9 into Tcl 8.7. For Tcl 9, various encoders/decoders are improved to make them conform better to their respective specifications. For Tcl 8.7, it made sense to make these encoder/decoder improvements provisionally-available using the same -strict option.

Now something bad happened: Because TIP 346 was not marked as a provisional TIP intended to bring 9.0 functionality to 8.7, the -strict option was subsequently carried forward into Tcl 9. This is an error: The application of provisional "-strict" option TIP 346 to Tcl 9 conflicts with TIP 601, subverting the intent of TIP 601 to provide a more correct encoding/decoding experience in Tcl 9.0. Provisional Tcl 8.7 interfaces should not leak into Tcl 9.0.

User Comments: pooryorick added on 2023-02-14 13:55:22:

I beg to differ. The ramifications of this TIP for Tcl 9 were not considered, and it is now in conflict with TIP 601.


jan.nijtmans added on 2023-02-14 13:51:23:

This was intentional. TIP's are not supposed to be edited after the Vote, even more when it changes the intention.


pooryorick added on 2023-02-14 13:38:35:

Fixed in b763993f231a7326.


pooryorick added on 2023-02-14 13:33:56:

This leakage lead to issue [1213da1166], which attempted to modify TIP 601, but that is backwards. It is TIP 346 for 8.7 that should be modified not to conflict with TIP 601, or with other improvements in Tcl 9.