python-tablefu icon indicating copy to clipboard operation
python-tablefu copied to clipboard

urllib2, py3.3

Open simonpa71 opened this issue 11 years ago • 3 comments

python 3.3 version installled using easyinstall under Windows7. error: File "C:\Python33\lib\site-packages\python_tablefu-0.4.2-py3.3.egg\table_fu__ init__.py", line 15, in ImportError: No module named 'urllib2'

tried fixing using 2to3, but have no success yet.

simonpa71 avatar Jun 17 '13 10:06 simonpa71

The codebase looks like it's Python 2.5+ excluding Python 3. (After I worked through urllib2, StringIO started causing problems.)

@eyeseast Would you be amenable to some combination of me 1) trying to add Python 3 support, 2) using six for compatibility with Python 2 and 3 on a single codebase (http://pythonhosted.org/six/), 3) using tox to test on multiple python versions, and 4) update documentation regarding supported python versions?

ftobia avatar Jun 21 '13 02:06 ftobia

@ftobia Yes please. Preferably each of those in its own pull request, if you can. (Sorry for the late reply here.)

eyeseast avatar Jul 11 '13 14:07 eyeseast

No problem. I'll try to break up the pull requests appropriately.

FYI I've got an open pull request over on a dependent package (https://github.com/datadesk/latimes-statestyle/pull/3). You wouldn't happen to know anyone over there?

ftobia avatar Jul 11 '13 14:07 ftobia