Message212057
I have attached a patch file for test_tarfile.py that uses the attached 'bad.tar' to test this issue.
After applying this test patch, put 'bad.tar' in Lib/test with the name 'issue15858.tar'.
This tests Tarfile.next(), but the issue can be seen via the command line interface, which uses .next() under the covers:
Pre-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar
foo/
Post-patch:
$ ./python -m tarfile -l Lib/test/issue15858.tar
foo/
foo/a |
|
Date |
User |
Action |
Args |
2014-02-24 03:10:48 | efloehr | set | recipients:
+ efloehr, akuchling, tlynn, lars.gustaebel |
2014-02-24 03:10:48 | efloehr | set | messageid: <1393211448.43.0.391952163417.issue15858@psf.upfronthosting.co.za> |
2014-02-24 03:10:48 | efloehr | link | issue15858 messages |
2014-02-24 03:10:48 | efloehr | create | |
|