On 1/28/07, Michael Foord <[EMAIL PROTECTED]> wrote: > Mike Orr wrote: > > I finally finished my path package (Unipath) and put it in the Cheeseshop. > > http://sluggo.scrapping.cc/python/unipath/ > > > Hello Mike, > > Looking through the docs it looks like a great package. However, didn't > Guido (on this list anyway) rule that he wouldn't accept a solution > which subclassed a string type?
To be easily useful as a third-party module, it needs to subclass str/unicode so you can pass it directly to something like open(). That inheritance could be dropped if the module was included in the stdlib, as long as the inclusion was also accompanied by appropriate modifications to open()/file() to allow Path objects. STeVe -- I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a tiny blip on the distant coast of sanity. --- Bucky Katt, Get Fuzzy _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com