24 May
2017
24 May
'17
12:28 a.m.
On Tue, May 23, 2017 at 1:49 PM, Steven D'Aprano
How about simplifying the implementation of fspath by giving str and bytes a __fspath__ method that returns str(self) or bytes(self)?
The compatiblity issue I mention in the other email I just sent as a response to the OP will appear if a subclass returns something other than str(self) or bytes(self). —Koos -- + Koos Zevenhoven + http://twitter.com/k7hoven +