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 vstinner
Recipients Claudiu.Popa, berker.peksag, rhettinger, tshepang, vstinner
Date 2014-05-14.22:34:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400106877.11.0.917645440687.issue21027@psf.upfronthosting.co.za>
In-reply-to
Content
$ ./python -m difflib -u a.py b.py 
...
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='a.py' mode='r' encoding='UTF-8'>
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='b.py' mode='r' encoding='UTF-8'>

It looks like files are not closed.

I would prefer to have the unified output (-u) by default. I don't think that Python should mimick exactly UNIX tools.

tarfile has now a command line interface, but options are different. For example, it's -e to extract instead of -x.
History
Date User Action Args
2014-05-14 22:34:37vstinnersetrecipients: + vstinner, rhettinger, Claudiu.Popa, tshepang, berker.peksag
2014-05-14 22:34:37vstinnersetmessageid: <1400106877.11.0.917645440687.issue21027@psf.upfronthosting.co.za>
2014-05-14 22:34:37vstinnerlinkissue21027 messages
2014-05-14 22:34:36vstinnercreate