-
Notifications
You must be signed in to change notification settings - Fork 720
Support Python 3 #132
Comments
Python3:
see also: #188 |
@vbuterin do we need to support py2.7? Projects which will use pyethereum are probably new and should be build on py3 anyway. |
So there are two cases which we need to consider when deciding on python3 (the future) or python2. pyeth as an applicationLinux
OS X / Windowspyethereum used as a library |
Isn't pybitcointools another Python 2-only dependency? |
It's actually py3-friendly now. —Reply to this email directly or view it on GitHub. |
Hi, just wanted to let you guys know that @ouziel-slama and I are working on adding Python 3 support to pyethereum (and ethereum-serpent and rlp), so that we can use it (the VM, specifically) in https://github.com/CounterpartyXCP/counterpartyd. We've made some progress already, but we'd like to pass as many tests with our fork as possible, so that you guys are inclined to merge the patch upstream. I guess the big question for us is do you want to preserve support for Python 2? Of course, I'm a big Py3k fan and would love to let Python 2 finally die ;), but it's up to you (and I'm not yet sure how much work it'll be to support both). @vbuterin? Anyway, watch out for pull requests from us. |
Hmm, lots of people have asked and it's a complicated question. In what
portion of new mac/linux distros is python3 available by default? If it's a
substantial majority, then I'll be fine moving over.
|
IMO, in what portion of distros is python3 available should not be a decisive element. |
So, python packages generally don't come with "installers". The process is
Or:
That's the standard thing process that works with just about every python Also, plenty of people are still writing their code in python2. So, if they So, my general preference right now would be using six and trying to |
pip is bundled with Python starting in 2.7.9 |
@vbuterin, the only people that are using With regard to your second point, pyethereum is still in the proof-of-concept stage and obviously no production code depends on it. There aren't any projects that will have to switch over their architecture, and no one should be writing new code in Python 2. "Python 2.x is legacy, Python 3.x is the present and future of the language" (https://wiki.python.org/moin/Python2orPython3) |
I believe #357 is ready for review and should close this issue. |
@pipermerriam @vbuterin @joeykrug @heikoheiko Can this be closed? |
No description provided.
The text was updated successfully, but these errors were encountered: