[Twisted-Python] Re: Twisted 1.0.4 - Heavy search for `plugins.tml'

Christopher Armstrong radix at twistedmatrix.com
Sun Apr 27 13:21:53 EDT 2003


On 2003.04.27 13:14, Christopher Armstrong wrote:
> 
> On 2003.04.27 12:50, Francois Pinard wrote:
> > It still looks like Twisted is going overboard with this.  If `plugins.tml'
> > files were being collected from the top-level directories along `sys.path'
> > and maybe no more than one-level below, and maybe also for test purposes
> > (despite the security weakness), into the current directory and one
> > level of directories below, it would probably make a lot of sense at a
> > reasonable cost.
> 
> That's exactly what it's documented to do. If it's not doing that, it's a bug.
> (btw, the current directory gets no special treatment. If it's searching
> the current directory, it's because the current directory is somehow in 
> sys.path)

Sorry, I misread your paragraph. It's not quite exactly doing that - it's
searching in one *less* place than what you said (directories along sys.path;
it *only* searches one level of subdirectories along each directory in sys.path)

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list