remove sqlalchemy.exceptions entirely

Issue #2433 resolved
Former user created an issue
>>> from sqlalchemy.exceptions import OperationalError
Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: No module named exceptions

Since there is an alias for sqlalchemy.exc, I'd would expect this to work.

SQLAlchemy v0.7.5[BR] Python v2.7.2[BR] System Arch Linux[BR]

Comments (6)

  1. Mike Bayer repo owner

    It's been called sqlalchemy.exc since version 0.5 which was first released in January, 2009. Perhaps you can correct your code to use sqlalchemy.exc ? exceptions is there for some very old backwards compatibility concerns.

  2. Former user Account Deleted

    It's not my code, that's the real problem. The code (cjklib) broke with 0.7, it worked before.[BR]

    As there is an alias for the exceptions package, I would expect the import to work but it's reasonable to expect users to update their code every 3 years. :)[BR]

    Feel free to close the ticket, I just didn't find a ticket about this with the official response.

  3. Log in to comment