[Backport of r52452]
Patch #1549049: Rewrite type conversion in structmember.
Fixes #1545696 and #1566140.

The new warnings have been omitted in the backport.
diff --git a/Misc/NEWS b/Misc/NEWS
index 8b822e9..c79a55a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@
 Core and builtins
 -----------------
 
+- Patch #1549049: Support long values in structmember.
+
 - Bug #1545497: when given an explicit base, int() did ignore NULs
   embedded in the string to convert.