strptime() in _strptime.py vs lib-dynload/time.so

igor.tatarinov at gmail.com igor.tatarinov at gmail.com
Sun Dec 16 23:53:24 EST 2007


On Dec 16, 8:47 pm, igor.tatari... at gmail.com wrote:
>    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
>     57765    6.020    0.000   12.970    0.000 /usr/lib64/python2.4/_strptime.py:273(strptime)
> ...

actually, the C-version of strptime() is also getting called:
    57765    0.960    0.000   13.940    0.000 :0(strptime)

that's pretty confusing. Does the Python version call the C-version
(or the other way around)?

Thanks,
igor




More information about the Python-list mailing list