[Cython] To Add datetime.pxd to cython.cpython

ZS szport at gmail.com
Fri Feb 22 08:38:56 CET 2013


>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


More information about the cython-devel mailing list