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 pitrou
Recipients pitrou, tarek
Date 2009-01-05.12:36:43
SpamBayes Score 0.07003868
Marked as misclassified No
Message-id <1231159005.62.0.240745393714.issue4843@psf.upfronthosting.co.za>
In-reply-to
Content
I suggest a more generic and powerful API change:

    copytree(src, dst, symlinks=False, ignore=None) -> None            
       
becomes:    
                
    copytree(src, dst, symlinks=False, ignore=None, callback=None) -> None

where callback, if not None, is called with each (filename, src_dir,
dst_dir) and can return either True or False depending on whether the
copy must really occur or not.

Then you should be able implement the four distutils option in terms of
the callback.
History
Date User Action Args
2009-01-05 12:36:45pitrousetrecipients: + pitrou, tarek
2009-01-05 12:36:45pitrousetmessageid: <1231159005.62.0.240745393714.issue4843@psf.upfronthosting.co.za>
2009-01-05 12:36:43pitroulinkissue4843 messages
2009-01-05 12:36:43pitroucreate