This patch implements a simple class ElementWrapper for wrapping Sage
or Python objects as Sage elements, with reasonable default
implementations of repr, cmp, hash, etc. The typical use case is for
trivially constructing new element classes from preexisting Sage or
Python classes, with a containment relation.
This class is used extensively in the examples of the upcoming category framework patch #5891.
CC: @sagetrac-sage-combinat
Component: misc
Author: Nicolas M. Thiéry
Reviewer: Anne Schilling, Robert Bradshaw
Merged: 4.0.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/5967