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 serhiy.storchaka
Recipients Arfrever, benjamin.peterson, larry, r.david.murray, serhiy.storchaka
Date 2012-04-20.06:35:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334903747.78.0.163964535333.issue14626@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you, Larry. I was going to do it, but got stuck with other things.

The main objective of this proposal is to get rid of litter os module by dozen rarely popular and non-portable functions (introduced by issue4761). Moreover, the descriptions are given in alphabetical order and related functions are located far from each other.

> So I'd spell those "dir_fd", "src_dir_fd" (etc), "remove_dir", and "follow_symlinks".

I follow the common style. `followlinks` is already used in other functions.

> No--it'll just be part of a release, and you'll check which version of Python 3 you have before using it.

Presence of function depends not only on the version, but also from the platform.

Benjamin, therefore I believe it is critically important to do this work before the release of Python 3.3. To people and have not started to use the new features. Otherwise, get rid of them will be more difficult. But I have nothing against to put "at"-functions in a separate submodule (os.posix?).

David, let lstat remains. fstatat include functionality both stat and lstat (but has a different interface). I suggest to unite fstatat and stat, while maintaining backward compatibility and using a more user-friendly interface.

In the C extension of the functions is impossible, that is why were introduced new functions with other names.
History
Date User Action Args
2012-04-20 06:35:47serhiy.storchakasetrecipients: + serhiy.storchaka, larry, benjamin.peterson, Arfrever, r.david.murray
2012-04-20 06:35:47serhiy.storchakasetmessageid: <1334903747.78.0.163964535333.issue14626@psf.upfronthosting.co.za>
2012-04-20 06:35:47serhiy.storchakalinkissue14626 messages
2012-04-20 06:35:46serhiy.storchakacreate