isaac morland mhqwnlzzcsuwaterlooca sun 20 apr 2008 steven bethard wrote sun apr 20 2008 415 pm tarek ziadé wrote submitted patch review httpbugspythonorgissue2663 globstyle patterns callable complex cases provided filter files directories im big fan sequenceorcallable argument make callable argument supply utility function write something like exclude_func shutilexcluding_patternstmp test_dir2 shutilcopytreesrc_dir dst_dir excludeexclude_func even glob pattern filter considered useful enough worth specialcasing glob capability also exposed via something like excluding_patterns constructor additionally function called another function intended use callable argument something like files matching glob patterns except matching nonglobexpressible condition also files matching second nonglobexpressible condition becomes painful glob part essentially needs reimplemented isaac morland cscf web guru dc 2554c x36650 www software specialist thu 07 aug 2008 170517 0400 pythondev smarter shutilcopytree