Importing * from sqlalchemy.orm.interfaces causes AttributeError

Issue #2975 resolved
Dane Larsen
created an issue

This bug appears on both 0.9.3 and the latest development version (from Github). I also have an installation of 0.5.8, which does not exhibit the bug.

To reproduce, simply run the following in the Python interpreter:

>>> from sqlalchemy.orm.interfaces import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ExtensionOption'

Due to the simplicity of the bug, I wasn't sure if I was just missing something obvious, but a quick search didn't lead to any relevant information on ExtensionOption.

Comments (8)

  1. Dane Larsen reporter

    Hmm, interesting. It's not a huge deal that it's gone now. We're not using ExtensionOption, so I can just change our import so that it doesn't complain.

  2. Log in to comment