[Mailman-Users] time.mktime

John W Baxter jwblist at olympus.net
Tue May 30 07:00:41 CEST 2000

At 21:17 -0700 5/29/2000, David Smead wrote:
>I upgraded to Python 1.6a2 from 1.5.1 to use Mailman, and now I have a
>problem with an older program that calls time.mktime.  It used to take a
>time tuple, but now I get an error that says it only takes a single
>Does anyone know about this?  Is there a better list to ask this question?

Hi, Dave...

I believe the following is true...the pattern certainly is and the remark
about sockets.

time.mktime() always took a tuple, but now it only takes that, rather than
being relaxed and taking the tuple members as separate parameters.  Just
find the existing call and insert another parenthesis pair around the
arguments.  [Inside the existing (), outside it, or mixed.  ;-)]

Some other calls have been tightened up the same way (the constructor for
sockets being one).

John Baxter   jwblist at olympus.net      Port Ludlow, WA, USA

More information about the Mailman-Users mailing list