<div dir="ltr"><div><br></div>Anyone? It's been 2 days...<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 31, 2017 at 10:17 PM, Dan Stromberg <span dir="ltr"><<a href="mailto:strombrg@gmail.com" target="_blank">strombrg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>I put a little time into exploring __implements__ and abc.ABCMeta today., in combination with pylint.<div><br></div><div>I guess it's about time I started using one or both of them.</div><div><br></div><div>I'm a little puzzled though. It _seems_ like pylint is ignoring __implements__, while abc.ABCMeta appears to be working the way I'd expect it would.</div><div><br></div><div>I've put some sample code at <a href="http://stromberg.dnsalias.org/svn/pylint-interface-experiment/trunk/" target="_blank">http://stromberg.dnsalias.<wbr>org/svn/pylint-interface-<wbr>experiment/trunk/</a> At that URL, pie is an __implements__ experiment, and pabce is an ABC experiment.</div><div><br></div><div>I found a year-old thread on stackoverflow saying that pylint no longer does __implements__, which seems to fit with what I'm seeing. However, the pylint doc and pylint code (internally) still appear to use __implements__ - so maybe I'm just doing it wrong. The thread: <a href="https://stackoverflow.com/questions/20879269/why-pylint-keeps-saying-my-class-is-r0923-interface-not-implemented" target="_blank">https://stackoverflow.<wbr>com/questions/20879269/why-<wbr>pylint-keeps-saying-my-class-<wbr>is-r0923-interface-not-<wbr>implemented</a></div><div><br></div><div>Assuming they both still work (__implements__ and abc.ABCMeta), which is preferred? Or are they a toss-up?</div><div><br></div><div>Any suggestions on how to get __implements__ working?</div><div><br></div><div>Thanks!<br clear="all"><div><br></div><div>PS: I'm using:</div><div><div>pylint 1.7.1,</div><div>astroid 1.5.2</div><div>Python 3.4.2 (default, Apr 17 2017, 09:05:12)</div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_5772710667951483840gmail_signature">Dan Stromberg</div>
</font></span></div></div>
</blockquote></div><br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Dan Stromberg</div>
</div></div>