Skip Montanaro's patch, SF 559833, exposing xrange type in builtins.
Also, added more regression tests to cover the new type and test its
conformity with range().
diff --git a/Lib/types.py b/Lib/types.py
index 0d51743..da0e597 100644
--- a/Lib/types.py
+++ b/Lib/types.py
@@ -62,7 +62,7 @@
 
 ModuleType = type(sys)
 FileType = file
-XRangeType = type(xrange(0))
+XRangeType = xrange
 
 try:
     raise TypeError