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.

Author tlynn
Recipients lars.gustaebel, tlynn
Date 2012-09-04.10:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346756324.92.0.378487426828.issue15858@psf.upfronthosting.co.za>
In-reply-to
Content
I think the default has to be 0 for consistency with how other empty numeric fields are handled.

In theory spaces and NULs are supposed to be equivalent terminators in numeric fields, but I've just noticed that plexus-archiver is also using leading spaces rather than leading zeros (against the spec), e.g. ' 10422\x00 '.  tarfile currently supports this, which I think is good, so I think the right approach is to lstrip(' ') fields and then treat space as a terminator.
History
Date User Action Args
2012-09-04 10:58:44tlynnsetrecipients: + tlynn, lars.gustaebel
2012-09-04 10:58:44tlynnsetmessageid: <1346756324.92.0.378487426828.issue15858@psf.upfronthosting.co.za>
2012-09-04 10:58:44tlynnlinkissue15858 messages
2012-09-04 10:58:43tlynncreate