SIGN IN SIGN UP

Fix time.mktime() and datetime.datetime.timestamp() on AIX

On AIX, the C function mktime() alwaysd sets tm_wday, even on error. So tm_wday
cannot be used as a sentinel to detect an error, we can only check if the
result is (time_t)-1.
V
Victor Stinner committed
93037498d1f61f31e5b52d2f8d4aa437a26bc14e
Parent: 5ac1b93