<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 9, 2016 at 5:39 PM, Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Jan 09, 2016 at 05:13:38PM +0200, Ram Rachum wrote:<br>
> Hi everyone,<br>
><br>
> What do you think about enabling a more friendly interface to chmod<br>
> information in Python?<br>
<br>
</span>I think that would make an awesome tool added to your own personal<br>
toolbox. Once you are satisfied that it works well, then it would be<br>
really good to realise it to the public as a third-party library or<br>
recipe on ActiveState or similar.<br>
<br>
And then we can talk about whether or not it belongs in the stdlib.<br></blockquote><div><br></div><div>Okay. I'm working on it now, we'll see how it goes.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> And of course, I'd want that on the `pathlib` module so I could do it all<br>
> on the path object without referencing another module.<br>
<br>
</span>What's wrong with referencing other modules?<br>
<span class="HOEnZb"><font color="#888888"><br><br></font></span></blockquote><div><br></div><div>Not wrong, just desirable to avoid. For example, I think that doing `path.chmod(x)` is preferable to `os.chmod(path, x)`.</div></div><br></div></div>