[issue10184] tarfile touches directories twice

Lars Gustäbel report at bugs.python.org
Mon Oct 25 13:05:38 CEST 2010


Lars Gustäbel <lars at gustaebel.de> added the comment:

I'm not entirely happy with the name of the "touch" argument. Apart from it being nice and short, I think it's a little too unix-y and might be misleading because it is not only about setting the modification time as the name implies, but also owner and mode. My proposal would be "restore_attrs" or "set_attrs" which isn't half as nice as "touch", but sums up better what's actually done. I leave this up to you.

I think the testcase wouldn't work on Windows the way it is now, would it?

Apart from these minor issues the patch gets my blessing, go ahead ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10184>
_______________________________________


More information about the Python-bugs-list mailing list