Tcl Source Code

View Ticket
Login
2025-05-05
16:27
[78f44214] Document Tcl_InitStringRep: copy description from TIP 445: better than nothing... check-in: 996b2264cd user: oehhar tags: core-9-0-branch
2025-05-02
16:36 • Ticket [78f4421436] Tcl_InitStringRep has no description in doc/ObjectType.3... artifact: d30fb09551 user: oehhar
16:28 • Ticket [78f4421436]: 3 changes artifact: e279572fae user: dgp
16:27 • Ticket [78f4421436]: 3 changes artifact: b3b426ecbe user: dgp
16:27 • Ticket [78f4421436]: 3 changes artifact: 7f5f2d104c user: dgp
12:34 • Ticket [78f4421436]: 4 changes artifact: 93045b847f user: oehhar
12:33 • Ticket [78f4421436]: 4 changes artifact: c23f40d0fa user: oehhar
12:31
[78f44214] Document Tcl_InitStringRep: copy description from TIP 445: better than nothing... check-in: 8f9c7f5fd8 user: oehhar tags: trunk, main
11:59 • Ticket [9899c273ab] Tcl_InitStringRep design issues status still Open with 4... artifact: b66748ef88 user: oehhar
11:56 • Ticket [78f4421436] Tcl_InitStringRep has no description in doc/ObjectType.3... artifact: ee8fefd9fd user: oehhar
11:44 • New ticket [78f4421436]. artifact: fb7cdb6182 user: oehhar

Ticket UUID: 78f442143662d7cf9c4447fbe10560b98ec81b1a
Title: Tcl_InitStringRep has no description in doc/ObjectType.3
Type: Bug Created on: 2025-05-02 11:44:34
Submitter: oehhar Assigned to: dgp
Subsystem: 10. Objects Severity: Minor
Priority: 5 Medium Last modified: 2025-05-02 16:36:53
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7+
Description:

The command Tcl_InitStringRep is listed as command in file [doc/ObjectType.3].

But there is no description what it does. Specially, there is no info, that it may panic or return NULL on memory issues.

I checked the main branch, but probably all branches are affected.

It was not documented in tcl 8.6. TIP 445 introduced it and has a description. The NULL return for memory error is documented there.

User Comments:
oehhar added on 2025-05-02 12:33:44:

Checkin [8f9c7f5fd8] copies the TIP text to the documentation. This is better than nothing. Even if the issue is forwarded to an internal macro, which is not described in the docs.

Jan, if you like it, just merge the branch to main and 9.0...

Thanks, Harald


oehhar added on 2025-05-02 12:34:35:

Ah sorry, I forgot to put it into a branch. So, if you dont like it, revert it. Sorry for the error, Harald


dgp added on 2025-05-02 16:27:11:
It's been a long time coming, but now here is the punishment
for my sins.

oehhar added on 2025-05-02 16:36:53:
No problem, Donald.
We are getting better each day ;-).

If you give me a better doc text, I will care to update...

Thanks for all,
Harald