python/octal: Copied from exercism/xpython