">path</span><span class="o">.</span><span class="n">commonprefix</span><span class="p">([</span><span class="n">abs_directory</span><span class="p">,</span> <span class="n">abs_target</span><span class="p">])</span>

            <span class="k">return</span> <span class="n">prefix</span> <span class="o">==</span> <span class="n">abs_directory</span>

        <span class="k">def</span><span class="w"> </span><span class="nf">_safe_extract</span><span class="p">():</span>
            <span class="c1"># This 