23 May
2017
23 May
'17
6:22 p.m.
On Tue, May 23, 2017 at 7:53 PM, Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> wrote:
Ah, sorry, I misunderstood what you were trying to say, but now I'm getting it! subclasses of str and bytes were of course usable as path arguments before simply because they were subclasses of them. Now they would be picked up based on their __fspath__ method, but old versions of Python executing code using them would still use them directly. Have to think about this one a bit, but thanks for pointing it out.
Yes, this is exactly what I meant. I noticed I had left out some of the details of the reasoning, sorry. I tried to fix that in my response to Steven. — Koos -- + Koos Zevenhoven + http://twitter.com/k7hoven +