The __slots__
attribute for classes was made with Python 2 or earlier, and according to comment for answer to Python __slots__
it appears that Python 3.3 has improved so the advantage on memory size may not be the reason for using __slots__
in for example Python 3.4 programs.
So should I clean up my code and remove the use of __slots__
in classes, or is there still some good reason for using __slots__
even in Python 3.4 programs?