<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Glyph,<div><br></div><div>Thanks for the precision. One would need to override just few bits more to keep it clean, then.</div><div><br></div><div>I don't really have the need for creating an extensible DirectoryLister now...</div><div>But talking about contributing to Twisted, you made me remember about WebSockets. I just started another topic on that subject :)</div><div><br></div><div>Regards,</div><div>Philippe</div><div><br></div><div><br></div><div><div>Le 29 oct. 2012 à 01:04, Glyph a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 28, 2012, at 11:46 AM, Philippe May &lt;<a href="mailto:phil.twisted-web@hanjinet.org">phil.twisted-web@hanjinet.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Menlo; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">&nbsp; &nbsp; ## &nbsp;&nbsp;_getFilesAndDirectories&nbsp;is just a copy of the original function found in the File class,</div><div style="font-family: Menlo; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">&nbsp; &nbsp; ## &nbsp; with minor modifications</div></blockquote><br></div><div>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.</div><div><br></div><div>DirectoryLister was never really designed to be extensible outside Twisted. &nbsp;If you'd like to contribute some enhancements to Twisted itself, that would be great :).</div><div><br></div><div>-glyph</div><br></div>_______________________________________________<br>Twisted-web mailing list<br><a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web<br></blockquote></div><br></body></html>