Issue 1564981: tarfile depends on undocumented behaviour (original) (raw)

Issue1564981

Created on 2006-09-25 10:58 by sanxiyn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch-cpython-tarfile sanxiyn,2006-09-25 10:58
Messages (2)
msg51170 - (view) Author: Seo Sanghyeon (sanxiyn) Date: 2006-09-25 10:58
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.
msg51171 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-10-29 09:25
Logged In: YES user_id=849994 This was already fixed otherwise. Thanks for the patch though.
History
Date User Action Args
2022-04-11 14:56:20 admin set github: 44022
2006-09-25 10:58:01 sanxiyn create