> I'm writing some doctests and trying out different versions of rdflib > and noticing that the representation of certain object changes between > the 2.4 release and trunk. is this intentional?
This shouldn't be the case, but Literal is a special scenario (see below) > does this project have > a policy about such changes? I would think it is bad practice to change > lang vs. language makes this fail Yes, at some point the RDF language method to the Literal constructor changed and this change needed to be reflected in __repr__ in order to allow Literals to be reconstructed from their __repr__. The SPARQL engine uses this mechanism to create FILTER expressions to evaluate natively. _______________________________________________ Dev mailing list Dev@rdflib.net http://rdflib.net/mailman/listinfo/dev