Python: dynamic methods and object copying, a tale of one bug
Executive Summary Avoid using callable instance attributes that call back into the object that contains them. If you must, make the object uncopyable by overriding __copy__ and __deepcopy__ and raising […]