I can not get print(obj) to print the full object. Instead I get truncated output with ellipses (...). I have realised that this does not happen with normal strings like: print(14_000*"O"), so it must be something to do with printing an object. I do not want to print dir(obj). The first few characters of print(obj), before the truncation look good to me, if only I could tell Python to not truncate anyting. How to print an object fully then? I cannot include here the object I am printing (I think it is of type osmium.osm.types.Area) but this is the output I get: a28382331: num_rings=(0, 0), tags={admin_level=9,boundary=administrative,name=Ipli...} It truncates right in the middle of the name attribute. There can not be a cyclic reference there, though I do not discount the fact that there may be cyclic references in the object. If Python can detect cyclic references then it can just not follow those rather than truncating the input. Continue reading...