[issue11017] optparse: error: invalid integer value

2011-01-26 Thread hensing
hensing added the comment: Shouldn't it be better to parse only numbers with prefix "0o" "0o72" as an octal number? So it would be consistent to hex and bin (0x and 0b). -- ___ Python tracker <http:

[issue11017] optparse: error: invalid integer value

2011-01-26 Thread hensing
New submission from hensing : OptionParser can't parse int "08" and "09". "8", "9" and "01..07" works. -- components: Library (Lib) files: minimal.py messages: 127106 nosy: hensing priority: normal severity: normal status: open ti