PEP on path module for standard library

Michael Hoffman cam.ac.uk at mh391.invalid
Fri Jul 22 16:07:05 EDT 2005


Peter Hansen wrote:

>> Most prominent change is that it doesn't inherit from str/unicode 
>> anymore.
>> I found this distinction important, because as a str subclass the Path 
>> object
>> has many methods that don't make sense for it.
> 
> On this topic, has anyone ask the original author (Jason Orendorff) 
> whether he has some background on this decision that might benefit the 
> discussion?

My impression is that he doesn't have a lot of spare cycles for this. He 
didn't have anything to add to the python-dev discussion when I informed 
him of it. I'd love to hear what he had to say about the design.
-- 
Michael Hoffman



More information about the Python-list mailing list