Right now, importing sqlalchemy on python 2.3 is broken. __name__ is
readonly in 2.3, so the import fails:
>>> from sqlalchemy import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/watsond/python_packages/sqlalchemy/__init__.py", line 9,
in ?
from sqlalchemy.schema import *
File "/home/watsond/python_packages/sqlalchemy/schema.py", line
1087, in ?
class MetaData(SchemaItem):
File "/home/watsond/python_packages/sqlalchemy/schema.py", line
1180, in MetaData
connect = util.deprecated(connect)
File "/home/watsond/python_packages/sqlalchemy/util.py", line 552,
in deprecated
func_with_warning.__name__ = func.__name__
TypeError: readonly attribute
I'm not sure what side-effects it would cause (my guess would be
harder-to-read tracebacks when calling deprecated methods?), but
commenting out the assignment got me up and running again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---