]> granicus.if.org Git - python/commit
Merged revisions 74750 via svnmerge from
authorLars Gustäbel <lars@gustaebel.de>
Sat, 12 Sep 2009 10:44:00 +0000 (10:44 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Sat, 12 Sep 2009 10:44:00 +0000 (10:44 +0000)
commit049d2aa952ae8deb8932a2b84aa1d503b83ad6a5
treed285d20f9522eecbc90596b36114c466dcb98d12
parent01054d7f89227066ea3c42ad815f7a58a156340c
Merged revisions 74750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74750 | lars.gustaebel | 2009-09-12 12:28:15 +0200 (Sat, 12 Sep 2009) | 9 lines

  Issue #6856: Add a filter keyword argument to TarFile.add().

  The filter argument must be a function that takes a TarInfo
  object argument, changes it and returns it again. If the
  function returns None the TarInfo object will be excluded
  from the archive.
  The exclude argument is deprecated from now on, because it
  does something similar but is not as flexible.
........
Doc/library/tarfile.rst
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS