CPython currently treats an argument to int() or long() when base is specified as null-terminated strings, but this isn't documented AFAIK. i.e. int('0777\0', 8) works. tarfile depends on this behaviour, which breaks IronPython 1.0. Attached patch fixes this.