[Python-ideas] Add a "archive_tree" in the tarfile module

Stephen J. Turnbull stephen at xemacs.org
Mon May 18 05:58:16 CEST 2009


Tarek Ziadé writes:

 >                   if  add_empty_dir is set to False (default: True),
 > empty directory founded will not be added

I strongly prefer Booleans to default to "False".  How about naming
the formal argument "omit_empty_dir" or "ignore_empty_dir", and
defaulting to false?



More information about the Python-ideas mailing list