[Python-Dev] Function in os module for available disk space, why not?

Dinu Gherman gherman@darwin.in-berlin.de
Mon, 19 Mar 2001 13:21:44 +0100


Thomas Wouters wrote:
> 
> I think the main reason such a function does not exist is that no-one wrote
> it. If you can write a portable function, or fake one by making different
> implementations on different platforms, please contribute ;) Step one is
> making an inventory of the available functions, though, so you know how
> large an intersection you have to work with. The fact that you have to start
> that study is probably the #1 reason no-one's done it yet :)

Well, this is the usual "If you need it, do it yourself!"
answer, that bites the one who dares to speak up for all
those hundreds who don't... isn't it?

Rather than asking one non-expert in N-1 +/- 1 operating
systems to implement it, why not ask N experts in imple-
menting Python on 1 platform to do the job? (Notice the
potential for parallelism?! :)

Uhmm, seriously, does it really take 10 years for such an 
issue to creep up high enough on the priority ladder of 
Python-Labs? 

In any case it doesn't sound like a Python 3000 feature to 
me, or maybe it should?

Regards,

Dinu

-- 
Dinu C. Gherman
ReportLab Consultant - http://www.reportlab.com
................................................................
"The only possible values [for quality] are 'excellent' and 'in-
sanely excellent', depending on whether lives are at stake or 
not. Otherwise you don't enjoy your work, you don't work well, 
and the project goes down the drain." 
                    (Kent Beck, "Extreme Programming Explained")