This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: tarfile depends on undocumented behaviour
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, sanxiyn
Priority: normal Keywords: patch

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:20adminsetgithub: 44022
2006-09-25 10:58:01sanxiyncreate