| 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 | ||||
