<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><br></div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The PermissionError bug you found is already reported<br></div></div></blockquote><div><br></div><div>I committed this fix.<br></div><div><br></div></div></div></div></blockquote><div>Thanks!</div><div><br></div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">I also added a .path attribute to pathlib.*Path objects, so that p.path == str(p). You can now use the idiom getattr(arg, 'path', arg) to extract the path from a pathlib.Path object, or from an os.DirEntry object, or fall back to a plain string, without using str(arg), which would turn *any* object into a string, which is never what you want to happen by default.<br></div></div></blockquote><div><br></div><div>Very nice -- that opens the door to stdlib and third party modules taking Path objects in addition to strings. Maybe we will see greater adoption of pathlib after all!</div><div><br></div><div>CHB</div><div><br></div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">These changes will be released in Python 3.4.5, 3.5.2 and 3.6.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>
</blockquote></body></html>