[Python-Dev] The path module (class) PEP (original) (raw)

Jim Jewett jimjjewett at gmail.com
Thu Jan 26 22:48:41 CET 2006


(1) What is the advantage of module Path vs just turning os.path into a class? (except that people already import from os.path, so I suppose it would need to be os.Path)

(2) It sounds like quite a few stdlib calls will be both deprecated and wrapped. Having a new stdlib module rely on deprecated features leaves a bad taste. Perhaps move the functionality to the Path class and then forward from the current (about to be deprecated) modules?

-jJ



More information about the Python-Dev mailing list