--- pylib/appwin.c	2000/08/02 11:59:43	1.1
+++ pylib/appwin.c	2000/08/02 11:59:48
@@ -224,7 +224,7 @@
 
 	/* If this is the default window then also set sys.argv. */
 
-	if (ptr == NULL)
+	if ((ptr == NULL) && (argc != 0))
 		PySys_SetArgv(argc,argv);
 
 unlock:
