Opened at 2011-07-19T04:24:03Z
Last modified at 2015-04-05T15:36:40Z
#1437 new defect
Replace os.path (etc.) with twisted.python.filepath — at Version 1
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 (last modified by arch_o_median)
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 (1)
comment:1 Changed at 2011-07-19T04:24:42Z by arch_o_median
- Description modified (diff)