PRE-PEP: new Path class
Christoph Becker-Freyseng
webmaster at beyond-thoughts.com
Tue Jan 6 05:45:24 EST 2004
Dan Bishop wrote:
> "John Roth" <newsgroups at jhrothjr.com> wrote in message news:<vvivefh35qjv9a at news.supernews.com>...
>
>>I'm adding a thread for comments on Gerrit Holl's pre-pep, which
>>can be found here:
>>
>>http://tinyurl.com/2578q
>>
>
> ...
>
>>1) Should path be a subclass of str?
>>
>>No.
>
>
> So will the file constructor be "overloaded" to accept path objects?
> What about all those functions in the os module?
IMO this is the bettter way.
However it might be useful for transition subclass str. (see my other
posting)
More information about the Python-list
mailing list