In re: the "magic", it seems to me that you could use a mock object and get the required info from it.
e.g. imagine a case where you'd want to call datetime.strptime, partially initializing it at the moment of conversion definition. at the moment it is:
c.call_func(
datetime.strptime,
c.item("updated"),
"%Y-%m-%d"
)
but it's unclear to me how would the "magic" approach deal with the case above.edit: no, you can't in Python 3..
I'll try to have a closer look later today.