As I was opening this PR, I noticed that the existing PR https://github.com/mariomulansky/PySpike/pull/68 solves the same problem, although it preserves the __str__() method rather than replacing it with __fspath__() as I do.
Please feel free to merge whichever version better suits your needs or aesthetic preferences.
As I was opening this PR, I noticed that the existing PR https://github.com/mariomulansky/PySpike/pull/68 solves the same problem, although it preserves the
__str__()
method rather than replacing it with__fspath__()
as I do.Please feel free to merge whichever version better suits your needs or aesthetic preferences.