Loading the same path.py module into a 2.6.4 and 2.7.3 session produces different results when calling Path(path/to/file).isdir()
2.6.4 works as expected - outputs True or False
2.7.3 raises a TypeError: TypeError: _isdir() takes exactly 1 argument (0 given)
Anyone know why the behavior changed?
This is an easy manual fix except that we also use pymel which ships with its own path.py module that pymel calls return. Replacing that on each user’s machine is more involved and I was hoping for an easier solution.
I can’t find any instance of _isdir, so I’m assuming it’s in a binary somewhere. The implementations of os.path.isdir() are the same between python 2.6.4 and 2.7.3