If you have a setter in python you might be doing something wrong. If you have a setter in SymPy you are almost surely doing something wrong. Why isn't this just another argument in the constructor?