Letractively / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

interoperability issue in plugin.py #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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)

Original issue reported on code.google.com by pierre.a...@gmail.com on 24 Mar 2009 at 11:39

GoogleCodeExporter commented 9 years ago
Thank you for reporting the issue and the fix. The change has been made to the 
2.4.x branch and trunk in 
r1552.

Original comment by eik...@gmail.com on 24 Mar 2009 at 11:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 962a5ef46a89.

Original comment by eik...@gmail.com on 30 Mar 2011 at 9:05