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 giampaolo.rodola
Recipients denilsonsa, giampaolo.rodola, pitrou, zbysz
Date 2011-12-16.15:50:35
SpamBayes Score 6.628642e-12
Marked as misclassified No
Message-id <>
> The docstring for shutil says: Utility functions for copying and 
> archiving files and directory trees. So it doesn't seem to fit at all.

Well... shutil should stand for "shell utilities" and it already contains stuff which is not strictly related to file/directory direct operations (see shutil.disk_usage and upcoming shutil.which).

But maybe you're right... I don't know...
My point is that a function which attempts different fallbacks (ask OS -> ask os.environ -> return (None, None) / raise exception) sounds more like an utility function rather than something belonging to os module, where you tipically see 1-to-1 interfaces for the underlying system functions.
Date User Action Args
2011-12-16 15:50:36giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, zbysz, denilsonsa
2011-12-16 15:50:36giampaolo.rodolasetmessageid: <>
2011-12-16 15:50:35giampaolo.rodolalinkissue13609 messages
2011-12-16 15:50:35giampaolo.rodolacreate