change sqlalchemy.types to sqlalchemy.sqltypes
Issue #215
resolved
types conflicts with standard python types module. It's confused.
I cannot run my datamodel scripts as
if __name__ == '__main__':
doTests()
without rewrite
from sqlalchemy import types
to
from sqlalchemy import types as sqltypes
Of course now I use
import sqlalchemy as SA
SA.String(100)
but I think it will be usefull change. You can leave sqlalchemy.types as deprecated some time
Comments (4)
-
Account Deleted -
repo owner - changed milestone to 0.3.0
yeah yeah...i just hate that name 'sqltypes'...
-
repo owner - changed milestone to blue sky
might want to "wontfix" this as py2.5 now has absolute module imports which will be standardized in 2.6.
-
repo owner - changed status to wontfix
- Log in to comment
sorry, component must be (none) or schema