[Twisted-web] Override File's DirectoryLister?
phil.twisted-web at hanjinet.org
Sun Oct 28 16:36:30 EDT 2012
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 :).
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-web