On Fri, Jan 22, 2010 at 11:17 PM, Sridhar Ratnakumar <sridh...@activestate.com> wrote: [..] > 3) Patch Lib/tarfile.py to fix issue6196 > > I am hoping that (1) and (2) will get accepted. But not (3) - in which case, > should this go as a workarond (_ensure_read_write_access in > http://gist.github.com/279606) in the new, say, shutil.extract function?
I agree with Lars conclusions on this issue, I don't think this permission feature fits the sdtlib because its a very specific use case. Now, for shutil.unpack_archive, we could add a callable option (like the progress_filter one) that would be called with each newly extracted file, so one may apply any process on it. Regards, Tarek -- Tarek Ziadé | http://ziade.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com