#1437 new defect

Replace os.path (etc.) with twisted.python.filepath — at Initial Version

Reported by: arch_o_median Owned by: arch_o_median
Priority: minor Milestone: undecided
Component: code Version: 1.8.2
Keywords: unicode cleanup Cc:
Launchpad Bug:

Description

The filepath file system interface offers a single consistent object oriented interface for the various file system operations we need. Initially we just wanted to know if a file was the descendant of some directory, but this seemingly trivial question is not easily answered with the traditional python file system libraries (e.g. shutil, os.path, the open builtin, ... etc). Moreover these functions are not to be found in a single place, and lack a consistent interface. Additionally we think filepath is unique in offering atomic overwrite, (through setContent). So this ticket is to replace all the older ways of manipulating the filesystem with shiny new FilePath?.

Change History (0)

Note: See TracTickets for help on using tickets.