Re: Override File's DirectoryLister?

Philippe May <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
Hi Glyph,

Thanks for the precision. One would need to override just few bits more to keep it clean, then.

I don't really have the need for creating an extensible DirectoryLister now...
But talking about contributing to Twisted, you made me remember about WebSockets. I just started another topic on that subject :)

Regards,
Philippe


Le 29 oct. 2012 à 01:04, Glyph a écrit :

> 
> On Oct 28, 2012, at 11:46 AM, Philippe May <[email protected]> wrote:
> 
>>     ##   _getFilesAndDirectories is just a copy of the original function found in the File class,
>>     ##   with minor modifications
> 
> Please note that overriding private methods (those that begin with an underscore and do not end with one) is likely to break without warning in a future release of Twisted.
> 
> DirectoryLister was never really designed to be extensible outside Twisted.  If you'd like to contribute some enhancements to Twisted itself, that would be great :).
> 
> -glyph
> 
> _______________________________________________
> Twisted-web mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.