PEP on path module for standard library

Reinhold Birkenfeld reinhold-birkenfeld-nospam at
Thu Jul 21 18:05:25 EDT 2005

John Roth wrote:
> "Michael Hoffman" < at mh391.invalid> wrote in message 
> news:dbofk2$g1f$1 at
>> Many of you are familiar with Jason Orendorff's path module 
>> <>, which is frequently 
>> recommended here on c.l.p. I submitted an RFE to add it to the Python 
>> standard library, and Reinhold Birkenfeld started a discussion on it in 
>> python-dev 
>> <>.
>> The upshot of the discussion was that many python-dev'ers wanted path 
>> added to the stdlib, but Guido was not convinced and said it must have a 
>> PEP.
> Why did Guido want a PEP? Is it because he likes the idea but
> feels the feature set needs to be examined a bit more by the wider
> community, or is it some other reason?

He said,

Whoa! Do we really need a completely different mechanism for doing the
same stuff we can already do? The path module seems mostly useful for
folks coming from Java who are used to the Java Path class. With the
massive duplication of functionality we should also consider what to
recommend for the future: will the old os.path module be deprecated,
or are we going to maintain both alternatives forever? (And what about
all the duplication with the os module itself, like the cwd()
constructor?) Remember TOOWTDI.


More information about the Python-list mailing list