diff Python/importlib.h @ 84582:33d379c2bb79

Issue #18415: Normalize what type of quotes are used with string constants in importlib._bootstrap. Along the way clean up from string interpolation to use the repr explicitly. Initial patch by Madison May.
author Brett Cannon <brett@python.org>
date Fri, 12 Jul 2013 11:04:23 -0400
parents e80634ad5a0e
children ba850a78cbbc
line wrap: on
line diff
--- a/Python/importlib.h	Fri Jul 12 02:05:17 2013 +0200
+++ b/Python/importlib.h	Fri Jul 12 11:04:23 2013 -0400
@@ -1434,8 +1434,8 @@
     99,2,0,0,0,0,0,0,0,2,0,0,0,2,0,0,
     0,67,0,0,0,115,16,0,0,0,100,1,0,106,0,0,
     124,1,0,106,1,0,131,1,0,83,40,2,0,0,0,78,
-    117,24,0,0,0,60,109,111,100,117,108,101,32,39,123,125,
-    39,32,40,98,117,105,108,116,45,105,110,41,62,40,2,0,
+    117,24,0,0,0,60,109,111,100,117,108,101,32,123,33,114,
+    125,32,40,98,117,105,108,116,45,105,110,41,62,40,2,0,
     0,0,114,46,0,0,0,114,56,0,0,0,40,2,0,0,
     0,244,3,0,0,0,99,108,115,114,161,0,0,0,114,4,
     0,0,0,114,4,0,0,0,114,5,0,0,0,244,11,0,
@@ -1546,8 +1546,8 @@
     32,99,2,0,0,0,0,0,0,0,2,0,0,0,2,0,
     0,0,67,0,0,0,115,16,0,0,0,100,1,0,106,0,
     0,124,1,0,106,1,0,131,1,0,83,40,2,0,0,0,
-    78,117,22,0,0,0,60,109,111,100,117,108,101,32,39,123,
-    125,39,32,40,102,114,111,122,101,110,41,62,40,2,0,0,
+    78,117,22,0,0,0,60,109,111,100,117,108,101,32,123,33,
+    114,125,32,40,102,114,111,122,101,110,41,62,40,2,0,0,
     0,114,46,0,0,0,114,56,0,0,0,40,2,0,0,0,
     114,215,0,0,0,244,1,0,0,0,109,114,4,0,0,0,
     114,4,0,0,0,114,5,0,0,0,114,216,0,0,0,31,
@@ -2565,8 +2565,8 @@
     95,95,99,2,0,0,0,0,0,0,0,2,0,0,0,2,
     0,0,0,67,0,0,0,115,16,0,0,0,100,1,0,106,
     0,0,124,1,0,106,1,0,131,1,0,83,40,2,0,0,
-    0,78,117,25,0,0,0,60,109,111,100,117,108,101,32,39,
-    123,125,39,32,40,110,97,109,101,115,112,97,99,101,41,62,
+    0,78,117,25,0,0,0,60,109,111,100,117,108,101,32,123,
+    33,114,125,32,40,110,97,109,101,115,112,97,99,101,41,62,
     40,2,0,0,0,114,46,0,0,0,114,56,0,0,0,40,
     2,0,0,0,114,215,0,0,0,114,161,0,0,0,114,4,
     0,0,0,114,4,0,0,0,114,5,0,0,0,114,216,0,