Message22734
Logged In: YES
user_id=31435
Closing as invalid. Octal and hex notations apply only to
integer literals (see the reference manual). 0x12e4 is an
integer hex literal ('e' is a hex digit! so are a, b, c, d, and f),
and 4836 is its correct decimal equivalent. 017e4 is a
decimal float literal, denoting the same value as 17e4 (i.e.,
the presence or absence of leading zeroes has no effect on
the meaning of decimal float literals -- and all float literals in
Python are decimal float literals). |
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:26:46 | admin | link | issue1048864 messages |
| 2007-08-23 14:26:46 | admin | create | |
|