[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

Éric Araujo report at bugs.python.org
Fri Jun 24 12:51:37 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

haypo, you missed this comment from gps on Rietveld:

> As for the _user = user stuff, the reason that is being done is so
> that the original user and or group value can be included in the
> raised exception error message.  That is actually a nice thing to do.
> 
> otherwise, yes, i'd normally just reassign the parameters.
>
> At this point I believe this patch is ready to commit.  I'd reword
> the docstring to make it simpler but that is a minor detail and
> something that is easy to change in a future commit.

I agree the patch is ready.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12191>
_______________________________________


More information about the Python-bugs-list mailing list