Re: [Python-Dev] Extending os.chown() to accept user/group names

2011年5月26日 13:22:09 -0700

On Wed, May 25, 2011 at 15:58, Antoine Pitrou <[email protected]> wrote:
> On 2011年5月25日 09:41:46 -0400
> Barry Warsaw <[email protected]> wrote:
>> I think it would be a nice feature, and I can see the conflict. OT1H you 
>> want
>> to keep os.chown() a thin wrapper, but OTOH you'd rather not have to add a
>> new, arguably more difficult to discover, function. Given those two choices,
>> I still think I'd come down on adding a new function and shutil.chown() seems
>> an appropriate place for it.
>
> +1 for shutil.chown().
and so shutil.chown() be it: http://bugs.python.org/issue12191
Currently, only the function for a single file is implemented, let's
look later what to do for a recursive one.
Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to