From e65d621e1661512a4bcfb7d9a5320d3faa96aebe Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 21 Jun 2011 08:11:40 +0100 Subject: Fixed some bugs - tests now all pass under Python 3.3. --HG-- branch : distribute extra : rebase_source : 3498bfdc0d4c15e4276673b52e924c461ca353f0 --- setuptools/compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/compat.py') diff --git a/setuptools/compat.py b/setuptools/compat.py index dfbb314d..72581866 100644 --- a/setuptools/compat.py +++ b/setuptools/compat.py @@ -16,7 +16,7 @@ if sys.version_info[0] < 3: import httplib from BaseHTTPServer import HTTPServer from SimpleHTTPServer import SimpleHTTPRequestHandler - iteritems = lambda o: o.iteritems + iteritems = lambda o: o.iteritems() long_type = long maxsize = sys.maxint next = lambda o: o.next() @@ -55,7 +55,7 @@ else: from html.entities import name2codepoint import http.client as httplib from http.server import HTTPServer, SimpleHTTPRequestHandler - iteritems = lambda o: o.items + iteritems = lambda o: o.items() long_type = int maxsize = sys.maxsize next = next -- cgit v1.2.3