Clear internal call error in 'L' format. Fixes #723201.
Backported to 2.4.
diff --git a/Misc/NEWS b/Misc/NEWS
index 5bbc921..92fb253 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
 Core and builtins
 -----------------
 
+- Bug #723201: Raise a TypeError for passing bad objects to 'L' format.
+
 - Bug #1124295: the __name__ attribute of file objects was
   inadvertently made inaccessible in restricted mode.