>These macros allow to create dattime/time objects with tzinfo. >Of course we could do: > > t = PyTime_FromTime(........) > t = t.replace(tzinfo) Sorry last line has to be: t = t.replace(tzinfo=tzinfo) Zaur Shibzukhov