Artifacts Associated With Ticket 3fbaa4e23bfa711c
Ticket change [194409083f] (rid 153068) by dgp on 2017-04-12 14:41:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In all stable releases of Tcl since 8.5.0, there's been a Tcl_ObjPrintf() routine, but the set of specifiers supported includes no way to mark one of the variable arguments as having Tcl_WideInt size. This is noted in a code comment. /* TODO: support for wide (and bignum?) arguments */ At the time, all the sprintf() calls that were suitable for converting to the new Tcl_ObjPrintf() could be covered with long and int arguments. There's much more interest now in being able to pass Tcl_Wide(U)Int arguments, so we need to define and implement specifiers for that. Currently Tcl_ObjPrintf() and [format] have overlapping implementation, so that may bear on the best choices to avoid unwise overlapping functionality exposure. Note in particular that the "ll" modifier is already used in the [format] engine to indicate a signed argument of unlimited size (an mp_int). While we're enabling Tcl_WideInt arguments, it may make sense to deal with size_t arguments as well. I believe strongly these specifiers should be fully portable. This enhancement could go into 8.7 releases.
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to:
Tcl_ObjPrintf() does not accept Tcl_WideInt arguments
- type initialized to: "RFE"
Ticket change [5eed6fca7c] (rid 160552) by jan.nijtmans on 2018-01-29 08:26:42:
- assignee changed to: "jan.nijtmans"
- icomment:
And implementation for this (and more) is proposed in [http://core.tcl.tk/tips/doc/trunk/tip/476.md|TIP #476]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [6cc7cdfc54] (rid 161858) by dgp on 2018-03-15 12:45:25:
- closedate changed to: "2458193.03154813"
- closer changed to: "dgp"
- icomment:
This capability is now in Tcl 8.7+.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
Ticket change [0922fbdef7] (rid 222004) by jan.nijtmans on 2024-01-31 16:43:00:
- closedate changed to: "2460341.19653801"
- closer changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"