Artifacts Associated With Ticket 2373594
Ticket change [e085f7e54f] (rid 115210) by ferrieux on 2008-12-01 21:29:55:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The %i specifier in [scan] is documented as: "The base (i.e. decimal, binary, octal, or hexadecimal) is determined in the same fashion as described in expr." This would seem to suggest that 0b (and possibly 0o) should be handled as 0x. It is not the case; both scan 0b101 %i x scan 0o20 %i x store 0 in x. This can be traced to specific avoidance of these prefixes in tclStrToD.c. The attached patch re-establishes the 0b prefix. It is trivial to extend it to 0o, should the consensus say so.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "ferrieux"
- subsystem initialized to: "23. [scan]"
- title initialized to: "[scan %i] shuns 0b"
- type initialized to: "Bug"
Add attachment "scani.patch" [62d466b371] (rid 92472) by ferrieux on 2008-12-02 04:29:55.
Ticket change [c09fca01b6] (rid 102438) by ferrieux on 2008-12-02 04:29:55:
- icomment:
File Added - 303651: scani.patch
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [decf3e758d] (rid 114914) by ferrieux on 2009-01-04 02:18:22:
- closedate changed to: "2009-01-03T19:18:22"
- closer changed to: "ferrieux"
- icomment:
Backwards compatibility issues completely freeze the ancient %i. Closing as Won't Fix.
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "ferrieux"