Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Convert to python 3 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Convert to python 3 #3

wants to merge 1 commit into from

Conversation

Anaphory
Copy link

@Anaphory Anaphory commented Dec 2, 2013

Running 2to3 and replacing string raises with ValueError raises makes the basic code useable under python3. (As in, it works fine with my use case afterwards, but I don't use features like graphviz output or SQL yet, so I cannot confirm that it will be fine for those.)

@nnewey
Copy link
Contributor

nnewey commented Dec 2, 2013

Thanks Anaphory. I will most likely merge this as a separate Python3 branch, keeping the master branch at 2 for now, as most people still use 2.

@Anaphory
Copy link
Author

Anaphory commented Dec 2, 2013

If you just merged the raise "string" differences, 2to3 should run through without problems, and you don't need to keep two branches up to date, I guess. Sorry I did not think of that earlier, otherwise I would have made two separate commits.

@prashantserai
Copy link

Cant see any Python3 branch.. Dropped the plan ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants