python 3 examples #292

Closed
josef-pkt opened this Issue May 29, 2012 · 4 comments

Projects

None yet

2 participants

@josef-pkt
Member

I just remembered that we didn't have the examples converted to python 3

needs a check, I don't know what current status of the examples folders is for 2to3.

@josef-pkt
Member

If I add the sandbox/examples on the python path, adding an __init__.py file, then the examples are translated by 2to3.

There are some refactoring errors, but I found, so far, only one py3 compatibility problem (with pandas.read_csv(urlopen(...)))

I did some search but I did not find an easy way to add additional files to the ones that are translated by 2to3.

@jseabold
Member

I added support for opening URLs in newer versions of pandas that's Python 3 compatible, so we can drop this.

@josef-pkt
Member

Update: I suggested that we write the examples so they run on python >= 2.6 without changes. (mailing list)

see also #616

@josef-pkt
Member

Fixed during conversion to common py 2 py 3 code base

@josef-pkt josef-pkt closed this Aug 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment