Re:Python Number Conversion Chart
by Dylan16807 on Sunday April 21, 2013 @12:51PM
(#5585399)
I would rather call that cause to celebrate than a caveat. The design of octal literals in C is ridiculous.
In fact you almost can't write a program without using them inadvertently. :)
Re:Python Number Conversion Chart
by dandellion on Saturday April 20, 2013 @11:30AM
(#5581682)
Wouldn't it be better to comment on the direct link, where the author is more likely to see it?
'oct' should also be added:
One caveat: Python doesn't assume the leading '0' indicates that the number is octal, so you must specify radix 8: