[Twisted-web] Override File's DirectoryLister?

Philippe May phil.twisted-web at hanjinet.org
Sun Oct 28 16:36:30 EDT 2012

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 :)


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

> On Oct 28, 2012, at 11:46 AM, Philippe May <phil.twisted-web at hanjinet.org> 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
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20121029/befa63af/attachment-0001.htm 

More information about the Twisted-web mailing list