title: How to subclass Path from pathlib?
body: <p>I asked this previously <a href="https://stackoverflow.com/questions/61689391/error-with-simple-subclassing-of-pathlib-path-no-flavour-attribute">here</a> but unfortuantely no full standalone answers were given. I'm trying hacky alternatives to subclassing but they're just not convenient. That's why I', putting this up again, looking for answers.</p>
  
  <pre><code>from pathlib import Path
  class Pl(Path):
      def __init__(self, *pathsegments: str):
          super().__init__(*pathsegments)
  
  </code></pre>
  
  <p>Error at instantiation</p>
  
  <pre><code>AttributeError: type object 'Pl' has no attribute '_flavour'
  
  </code></pre>
  
  <p>I'm interested in a solution that works across different machines.</p>