Better error message if stride used on normal sequence object
diff --git a/Python/ceval.c b/Python/ceval.c
index d526095..36e9b8c 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2529,6 +2529,9 @@
 	return result;
 }
 
+#define SLICE_ERROR_MSG \
+	"standard sequence type does not support step size other than one"
+
 static object *
 apply_subscript(v, w)
 	object *v, *w;
@@ -2543,8 +2546,13 @@
 	}
 	else {
 		int i;
-		if (!is_intobject(w)) {
-			err_setstr(TypeError, "sequence subscript not int");
+		if (!is_intobject(w)) {		  
+			if (PySlice_Check(w)) {
+			        err_setstr(ValueError, SLICE_ERROR_MSG); 
+			} else {
+				err_setstr(TypeError,
+					   "sequence subscript not int");
+			}	
 			return NULL;
 		}
 		i = getintvalue(w);