Author: guido.van.rossum
Date: Mon Jan 15 01:14:39 2007
New Revision: 53444

Modified:
   python/branches/p3yk/BROKEN_TESTS
   python/branches/p3yk/Lib/repr.py
Log:
Fix repr.py -- it was triggering on the type name 'long', should be 'int'.


Modified: python/branches/p3yk/BROKEN_TESTS
==============================================================================
--- python/branches/p3yk/BROKEN_TESTS   (original)
+++ python/branches/p3yk/BROKEN_TESTS   Mon Jan 15 01:14:39 2007
@@ -1,4 +1,2 @@
 test_pickletools -- Test probably needs to be fixed
-test_repr -- test_numbers() fails
-test_socket -- ntol problems, see SF patch 1635058
 test_sqlite -- CheckLargeInt (sqlite3.test.types.SqliteTypeTests, 
sqlite3.test.types.DeclTypesTests)

Modified: python/branches/p3yk/Lib/repr.py
==============================================================================
--- python/branches/p3yk/Lib/repr.py    (original)
+++ python/branches/p3yk/Lib/repr.py    Mon Jan 15 01:14:39 2007
@@ -92,7 +92,7 @@
             s = s[:i] + '...' + s[len(s)-j:]
         return s
 
-    def repr_long(self, x, level):
+    def repr_int(self, x, level):
         s = __builtin__.repr(x) # XXX Hope this isn't too slow...
         if len(s) > self.maxlong:
             i = max(0, (self.maxlong-3)//2)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to