have a clear error when passing something > sys.maxsize to bytearray
diff --git a/Misc/NEWS b/Misc/NEWS
index 3c49738..b53beab 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
 Core and Builtins
 -----------------
 
+- Issue #8417: Raise an OverflowError when an integer larger than sys.maxsize is
+  passed to bytearray.
+
 Library
 -------