On Aug 3, 8:20 am, Aric Hagberg <arichagb...@gmail.com> wrote: > urllib.request.install_opener(urllib2.build_opener(*handlers)) > NameError: name 'urllib2' is not defined > > ----------------------------------------------------------------------
Apparently for some reason only part of that line with urllib2 got converted correctly with 2to3. I also noticed that ext/pngmath.py is going to need a fix: depth_re = re.compile('\[\d+ depth=(-?\d+)\]') doesn't get converted to depth_re = re.compile(b'\[\d+ depth=(-?\d+)\]') And in util/png.py DEPTH_CHUNK_START = 'tEXtDepth\x00' IEND_CHUNK = '\x00\x00\x00\x00IEND\xAE\x42\x60\x82' both will need DEPTH_CHUNK_START = b'tEXtDepth\x00' IEND_CHUNK = b'\x00\x00\x00\x00IEND\xAE\x42\x60\x82' etc. Those don't get spotted by the tests. Aric -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.