Tcl Source Code

Check-in [62a9a4d3c2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Rebase lset-empty-huge-index to main. Fix [13d3c0d764]: lset on an empty list accepted a huge index as end+1. In the special case for empty lists, accept the index only if it is end+1 when evaluated for a list of one element; the index encoding is not changed.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | lset-empty-huge-index
Files: files | file ages | folders
SHA3-256: 62a9a4d3c225c58b1a17617f628395404d344d321a5786d51646c4ffee4a3006
User & Date: serhiy.storchaka 2026-10-29 10:15:38.459
Context
2026-10-29
14:20
Fix [13d3c0d764]: lset on empty list is allowed when index argument is large check-in: 1b4052be16 user: jan.nijtmans tags: trunk, main
10:15
Rebase lset-empty-huge-index to main. Fix [13d3c0d764]: lset on an empty list accepted a huge index ... closed check-in: 62a9a4d3c2 user: serhiy.storchaka tags: lset-empty-huge-index
08:00
Fix [2f8bb4]: msgcat did not check the locales check-in: 85a543ddd2 user: jan.nijtmans tags: trunk, main
2026-10-17
09:17
Fix [13d3c0d764]: lset on an empty list accepted a huge index as end+1. In the special case for empt... closed check-in: 7325d81876 user: serhiy.storchaka tags: lset-empty-huge-index
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclListObj.c.
Changes to tests/lset.test.