yams #2706 api cleanup [resolved]

  • implement __cmp__ and __hash__ on entity and relation schemas to make them comparable to their equivalent type (eg string representation)
  • major api and implementation cleanup possible thanks to this change
  • (almost) backward compatible with proper warnings when necessary
  • new .type() method on constraints
  • move some code of schema2dot into logilab-common
appeared in<not specified>
done in0.9.0
load left0.000
closed by<not specified>