Temporary debug for Windows buildbots.
diff --git a/Python/import.c b/Python/import.c
index 9876aad..79cd708 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -907,6 +907,11 @@
     }
     /* Now write the true mtime */
     fseek(fp, 4L, 0);
+    if (mtime >= LONG_MAX) {
+        fprintf(stderr, "** mtime=%ld > %ld (%ld, %ld)\n", mtime, LONG_MAX, sizeof(time_t), sizeof(srcstat->st_mtime));
+        assert(0);
+        /* can't get here */
+    }
     assert(mtime < LONG_MAX);
     PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION);
     fflush(fp);