bayesian-belief-networks icon indicating copy to clipboard operation
bayesian-belief-networks copied to clipboard

Convert to python 3

Open Anaphory opened this issue 11 years ago • 3 comments

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.)

Anaphory avatar Dec 02 '13 12:12 Anaphory

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.

nnewey avatar Dec 02 '13 15:12 nnewey

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.

Anaphory avatar Dec 02 '13 16:12 Anaphory

Cant see any Python3 branch.. Dropped the plan ?

prashantserai avatar Sep 03 '15 02:09 prashantserai