-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2.* Compatibility #46
Comments
Current master is Python 3 only and so will be the next 0.3 release. I haven't updated the setup.py yet. You can still run documents with Python 2 code with the --kernel option. |
I started working on a generic branch (both Python 2 and 3 compatible). When run in Python 2.7 environment, it switches to Python 2 kernel. |
This version compatibility question was exclusively in reference to the source/development version of Python, which has already been addressed. |
@mpastell Just crossed my mind: have you definitively decided to abandon support for Python 2, or is this still possible in the project to support it? I am thinking either about making the code P2/3 compatible or keeping P2 branch in sync with master. |
I have three reasons for wanting to drop Python 2:
So personally I find this a good time to drop it, if it would be included in the release it means I feel the need to support it. Python 2 users can still use new version of Pweave with Python 2 kernel. See also: http://www.python3statement.org/ |
I see. My approach is slightly different - I try to keep my code both P2/3 compatible, so I can maintain the support with minimal effort. The only drawback I can see of abandoning Python 2 is referencing the used Pweave version
|
Dear all... i just installed Peweave only to realize that it doesn´t support python 2. There is a comment here that i can change the kernel settings but i have no clue what this means. Would someone be willing to guide me? Thank you in advance |
IF i try to trun one of the test documents like: I still get this error: Traceback (most recent call last): I would really appreciate any help you are willing to offer. |
Python 2 will be a dead language in two years' time. The dependencies like ipython going away it the other nail in the coffin. I think @mpastell made the right call when he closed this issue. |
Looks like some of the current syntax requires Python 3, i.e.
Is there no longer Python 2.* compatibility?
The text was updated successfully, but these errors were encountered: