Message 91350 - Python tracker (original) (raw)

Hi, i started to produce a patch for timemodule.c.

Working into it, i found that we have almost 3 way to do that:

  1. Use timegm(3) function where HAVE_TIMEGM is defined (i have a working patch for it)

  2. Implement a more portable timegm function with tzset and mktime where HAVE_MKTIME and HAVE_WORKING_TZSET is defined (i have a working patch for it)

  3. Doing some calculation taking calendar.timegm as example.

What do you think about it?

Thanks, Francesco "pr0gg3d" Del Degan