]> granicus.if.org Git - python/commit
Merge with 3.2: Issue #13158: Fix decoding and encoding of base-256 number fields...
authorLars Gustäbel <lars@gustaebel.de>
Fri, 14 Oct 2011 10:53:10 +0000 (12:53 +0200)
committerLars Gustäbel <lars@gustaebel.de>
Fri, 14 Oct 2011 10:53:10 +0000 (12:53 +0200)
commit01277d166a993742814c772d01987fbaafb528d4
tree1313156ef053cbd757ce804db6387c05b925f234
parent0e7e715a117ca5f29d53890550ff00447f0c2dc5
parentac3d137a303d579d7b02af083fda90309ab9378a
Merge with 3.2: Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile.

The nti() function that converts a number field from a tar header to a number
failed to decode GNU tar specific base-256 fields. I also added support for
decoding and encoding negative base-256 number fields.
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS