Message158212
I checked Standard C by Plauger & Brodie and as I read it, it agrees with py.user and his C compiler. For stdlib strtol() and strtoul(), the 0x/0X prefixes are accepted but optional for explicit base 16. If base is given as 0, they are accepted and set the base to 16 (which is otherwise 10). Except for %i, Xscanf functions apparently call either of the above with an explicit base, which is 16 for the %x specifiers. |
|
Date |
User |
Action |
Args |
2012-04-13 17:02:38 | terry.reedy | set | recipients:
+ terry.reedy, ezio.melotti, mrabarnett, r.david.murray, docs@python, py.user |
2012-04-13 17:02:37 | terry.reedy | set | messageid: <1334336557.92.0.180780675871.issue14519@psf.upfronthosting.co.za> |
2012-04-13 17:02:37 | terry.reedy | link | issue14519 messages |
2012-04-13 17:02:37 | terry.reedy | create | |
|