Skip to content
Tcl Source Code Check-in [54e350bf02]
Login

Check-in [54e350bf02]

Overview
Comment:Use TCL_INDEX_NONE as the indicator of an invalid index, modify TclLindexFlat to produce an error when "end" is used as an index of a list having indeterminate size, and add tests for [lindex] "end" in this case.
Timelines: family | ancestors | descendants | both | pyk-objinterface
Files: files | file ages | folders
SHA3-256: 54e350bf025edc3d46d1247f91370af153c4976f87541f0576780c73e291ef1a
User & Date: pooryorick on 2021-10-10 13:00:25.619
Other Links: branch diff | manifest | tags
Context
2021-10-13
11:27
Add "indexEnd" function to Tcl_Obj list interface table, ditch idea of using ssize_t, add TclObjectD... check-in: e9c00becf4 user: pooryorick tags: pyk-objinterface
2021-10-10
13:00
Use TCL_INDEX_NONE as the indicator of an invalid index, modify TclLindexFlat to produce an error wh... check-in: 54e350bf02 user: pooryorick tags: pyk-objinterface
2021-10-09
16:46
For testing, Add testIndexHexType, a Tcl_ObjType that implements its own list interface. check-in: cbcce44023 user: pooryorick tags: pyk-objinterface
Changes