This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sandro.tosi
Recipients eric.araujo, eric.smith, giampaolo.rodola, gregory.p.smith, ncoghlan, neologix, petri.lehtinen, sandro.tosi
Date 2011-05-30.19:15:15
SpamBayes Score 1.6310274e-06
Marked as misclassified No
Message-id <1306782917.23.0.020073040382.issue12191@psf.upfronthosting.co.za>
In-reply-to
Content
@Eric: ok, I was just asking given the "unusual" situation 2.7 is (i.e. a very long support series), but it's perfectly fine not to backport the feature.

@Charles-François: I changed a bit the logic: I check for 'None' at first, since it signals that we don't want to change the uid/gid, and then I recheck for None after _get_uid/gid, and only there raise a ValueError (is there a better exception for cases like this?) - what do you think about it?

@Éric: re rewrap: I kinda find that almost every core dev has his opinion on this :) some don't want to rewrap, others are fine if you're touching that paragraph, and so on. Anyhow, to be on the safe-side, I un-rewrapped the first paragraph of os.chown().

@Gregory: I'd like to first concentrate on the "single path" function, then we'll look at the "tree" version.

Thanks a lot to everyone for the review/comment/inspiration: attached you can find the updated patch. If something still needs a fix, I'd be happy to work on it.
History
Date User Action Args
2011-05-30 19:15:17sandro.tosisetrecipients: + sandro.tosi, gregory.p.smith, ncoghlan, eric.smith, giampaolo.rodola, eric.araujo, neologix, petri.lehtinen
2011-05-30 19:15:17sandro.tosisetmessageid: <1306782917.23.0.020073040382.issue12191@psf.upfronthosting.co.za>
2011-05-30 19:15:16sandro.tosilinkissue12191 messages
2011-05-30 19:15:16sandro.tosicreate