My initial reaction was that this undid an optimization. If we automatically retrieved representations we'd be making all kinds of unnecessary requests.
But actually, this is fine. We only make the request when (eg.) dir() is called on an object that doesn't have a representation. If you never call dir() this code will never run. So I think this is a good patch.
My initial reaction was that this undid an optimization. If we automatically retrieved representations we'd be making all kinds of unnecessary requests.
But actually, this is fine. We only make the request when (eg.) dir() is called on an object that doesn't have a representation. If you never call dir() this code will never run. So I think this is a good patch.