-
Notifications
You must be signed in to change notification settings - Fork 565
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
Incompatibility with Python3: unichr #687
Labels
bug
Something isn't working
Milestone
Comments
Python 3 compatibility is currently achieved through 2to3, you have to
install rdflib with pip or do `python setup.py install` to trigger it.
For rdflib 5.0 we'll get rid of 2to3 and have code that runs unchanged for
both 2 and 3.
- Gunnar
…On 17 January 2017 at 09:37, Ivan Herman ***@***.***> wrote:
Consider the following console output:
09:33 rdflib> python3
Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdflib
INFO:rdflib:RDFLib Version: 4.2.2-dev
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ivan/Source/PythonModules/RDFLib-repo/repos/rdflib/rdflib/__init__.py", line 99, in <module>
unichr(0x10FFFF)
NameError: name 'unichr' is not defined
>>>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#687>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAK3bO1om0BXiT0gBoQYSHsgO5f3-1Kyks5rTH25gaJpZM4LlW_1>
.
|
On 17 Jan 2017, at 10:29, Gunnar Aastrand Grimnes ***@***.*** ***@***.***>> wrote:
Python 3 compatibility is currently achieved through 2to3, you have to
install rdflib with pip or do `python setup.py install` to trigger it.
For rdflib 5.0 we'll get rid of 2to3 and have code that runs unchanged for
both 2 and 3.
O.k., I understand. The only downside for the current setup is, of course, that one has then to install the library twice if one has both python2 and python3 (which is still the case for me, because there are some other libraries that work only with Python2). But if rdflib 5.0 gets rid of this, then that is perfect. (I know it is a difficult question, but any planned time for that one?)
Thanks
|
We want get one more bug-fix release for 4.X out first, I'd like to aim for Q1 2017 for this. Then we'll start on 5.0. Given the usual activity around here, I wouldn't hold my breath for 2017 :) |
Thanks Gunnar
… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following console output:
The text was updated successfully, but these errors were encountered: