Éric Araujo <merwok at netwok.org> added the comment: I think it’s good: optparse checks for a leading 0 and will use int(value, 8) in that case. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11017> _______________________________________