aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/compat.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-06-21 08:11:40 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-06-21 08:11:40 +0100
commite65d621e1661512a4bcfb7d9a5320d3faa96aebe (patch)
tree4670ceebdcbdc773f851d6f117393abfb0cad588 /setuptools/compat.py
parent58a658b26d1c95b31d02050dcccd648d2e4ce27b (diff)
downloadexternal_python_setuptools-e65d621e1661512a4bcfb7d9a5320d3faa96aebe.tar.gz
external_python_setuptools-e65d621e1661512a4bcfb7d9a5320d3faa96aebe.tar.bz2
external_python_setuptools-e65d621e1661512a4bcfb7d9a5320d3faa96aebe.zip
Fixed some bugs - tests now all pass under Python 3.3.
--HG-- branch : distribute extra : rebase_source : 3498bfdc0d4c15e4276673b52e924c461ca353f0
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r--setuptools/compat.py4
1 files changed, 2 insertions, 2 deletions
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