William McVey wrote: > So, I've been running py-1.0.2 for quite a while. I'm now trying to > upgrade my code to use the current py library (1.2.1) and standalone > execnet. I'm curious whether the removal of the iterator functionality > on os.path.local() objects was intentional. I read through the > changelog, and didn't see anything other than: > > 1.0.2 -> 1.1.0 > * simplified internal localpath implementation > > To me though, I would have expected the API to stay consistent though.
Use py.path.local('~').visit() it works in both Versions. Can't tell you if the removal was intentional or not. --Adam
signature.asc
Description: PGP signature
_______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev