[Xapian-tickets] [Xapian] #477: "from xapian import *" in Python raises AttributeError
Xapian
nobody at xapian.org
Wed May 12 18:10:51 BST 2010
#477: "from xapian import *" in Python raises AttributeError
---------------------+------------------------------------------------------
Reporter: michelp | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version:
Severity: minor | Blockedby:
Platform: All | Blocking:
---------------------+------------------------------------------------------
>>> from xapian import *
Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Document_unserialise'
>>>
This appears to be because this name is exported by the module's __all__
but does not actually exist in the module itself:
>>> 'Document_unserialise' in xapian.__all__
True
>>> hasattr(xapian, 'Document_unserialise')
False
>>>
--
Ticket URL: <http://trac.xapian.org/ticket/477>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list