RDFLib/rdflib — Issue #51: interoperability issue in plugin.py
Author: gjhiggins
Created: 2012-02-20 08:31:28+00:00
State: open

pierre.a...@gmail.com, 2009-03-24T11:39:06.000Z

What steps will reproduce the problem?
1. run jython (v2.5)
2. type:
import rdflib
rdflib.ConjunctiveGraph()

What is the expected output? What do you see instead?
I see an exception, the expected output is no exception ;)

What version of the product are you using? On what operating system?
2.4.0 on Ubuntu Linux (Intrepid)

Please provide any additional information below.
I suggest replacing, in plugin.py, function get()
module = __import__(module_path, globals(), locals(), True)
with
module = __import__(module_path, globals(), locals(), [""])

which works both in CPython and Jython
(indeed, __import__ expects a list as its 4 argument)

Comment 1 by eik...@gmail.com
Thank you for reporting the issue and the fix. The change has been made to the 2.4.x branch and trunk in
r1552.

Comment 2 by eik...@gmail.com
This issue was closed by revision 962a5ef46a89.