On Sep 11, 2008, at 11:01 PM, sakesun wrote:
> > > I need sqlalchemy to work on ironpython (1.2 or 2.0b) > sqlalchemy fail on ironpython even with simple use case > like create simple Table definition. > >>>> from sqlalchemy import Table, Column, Integer, String, MetaData, >>>> ForeignKey >>>> metadata = MetaData() >>>> users_table = Table('users', metadata, > ... Column('id', Integer, primary_key=True), > ... Column('name', String), > ... Column('fullname', String), > ... Column('password', String) > ... ) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > IndexError: Index was outside the bounds of the array. wow, thats pretty bad. I wonder if the question is more, "is any effort underway getting IronPython to work like Python" ? SQLAlchemy does work with Jython and really didnt need any changes other than database dialect stuff. So its not like we're performing any black magic with arrays in our Table object. I am curious what the issue is above, but also I think the agenda with IronPython is that folks would be calling out to all Microsoft libraries to do everything, like Linq. So I'm not aware of any effort to get SQLA going on IronPython but it would definitely be much appreciated if there were. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---