Quote:
|
I did the setattr because it's a bad habit to use function names that are reserved.
|
Where did you get that from? You're still using function names that are reserved, just going about it indirectly using setattr. Of course it's fine to use names from functions that are built in (otherwise there wouldn't be 'read' methods on all the nice file-like objects).