A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-August/037565.html below:

[Python-Dev] Make it an error to use __slots__ with classicclasses

[Python-Dev] Make it an error to use __slots__ with classicclasses [Python-Dev] Make it an error to use __slots__ with classicclassesDelaney, Timothy C (Timothy) tdelaney at avaya.com
Mon Aug 11 10:30:11 EDT 2003
> From: Terence Way [mailto:terry at wayforward.net]
> 
> A brief test shows that PyChecker checks for this, however:
> Warnings...
> 
> testslot.py:2: Using __slots__ in classic class foo has no effect, 
> consider deriving from object

That seems sufficient to me. I think the right approach is educating people to use PyChecker.

Tim Delaney

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4