Message146899
According to the man page, find -print0 and xargs -r are also GNU extensions. Even though they work on OpenBSD (do they?), they could still break on some platforms.
As find -exec cmd {} ';' is already used for everything but __pycache__, I'd rather only change the removal of __pycache__. I believe there are more files that match '*.py[co]' than '__pycache__', and people are already waiting for a separate rm process to be invoked on each *.py[co], so invoking a separate rmdir for each __pycache__ shouldn't make it much slower. |
|
Date |
User |
Action |
Args |
2011-11-03 08:00:44 | petri.lehtinen | set | recipients:
+ petri.lehtinen, pitrou, vstinner, rpointel |
2011-11-03 08:00:44 | petri.lehtinen | set | messageid: <1320307244.34.0.350203171567.issue13326@psf.upfronthosting.co.za> |
2011-11-03 08:00:43 | petri.lehtinen | link | issue13326 messages |
2011-11-03 08:00:43 | petri.lehtinen | create | |
|