2to3: Apply urllib fixer. #3248

Merged
merged 1 commit into from Apr 15, 2013

Projects

None yet

2 participants

@charris
Member
charris commented Apr 14, 2013

Various functions have been moved around in the stdlib for Python 3,
this fixes that up so that the code is valid in both Python 2 and
Python 3.

Note: monkey patching the stlib urlopen for testing looks a bit hokey
to me, but I don't see an easier, more reliable way to do the test.

Closes #3090.

@charris charris 2to3: Apply urllib fixer.
Various functions have been moved around in the stdlib for Python 3,
this fixes that up so that the code is valid in both Python 2 and
Python 3.

Note: monkey patching the stlib urlopen for testing looks a bit hokey
to me, but I don't see an easier, more reliable way to do the test.

Closes #3090.
c70025a
@njsmith njsmith merged commit a196d78 into numpy:master Apr 15, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment