Frank Millman wrote:
For the time being I will use 'print(await obj.__str__())', as this is a good compromise.
It seems more like a very *bad* compromise to me. I can't see how this gains you anything over just doing print(await obj.getvalue()), and you lose the ability to do anything that calls __str__ implicitly. -- Greg -- https://mail.python.org/mailman/listinfo/python-list