[Patches] [ python-Patches-1564981 ] tarfile depends on undocumented behaviour

SourceForge.net noreply at sourceforge.net
Mon Sep 25 12:58:01 CEST 2006


Patches item #1564981, was opened at 2006-09-25 19:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1564981&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Seo Sanghyeon (sanxiyn)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile depends on undocumented behaviour

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1564981&group_id=5470


More information about the Patches mailing list