open_the_file():  Explicitly set errno to 0 before calling fopen().
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index b4f9e9b..de1a93c 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -106,6 +106,7 @@
 			"file() constructor not accessible in restricted mode");
 		return NULL;
 	}
+	errno = 0;
 #ifdef HAVE_FOPENRF
 	if (*mode == '*') {
 		FILE *fopenRF();