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: |
54e350bf025edc3d46d1247f91370af1 |
| 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
Modified generic/tclExecute.c
from [399c2169d6]
to [d4ed6eaa14].
[diff]
Modified generic/tclListObj.c
from [1586e84ced]
to [224e598146].
[diff]
Modified generic/tclUtil.c
from [eb0878fa83]
to [44e05927ec].
[diff]
Modified tests/objInterface.test
from [a3a5286171]
to [25369339fe].
[diff]