I can verify that importing SQLAlchemy 0.2.5 doesn't work: C:\Ip\IronPython\External\Regress\Python24\Lib>ipy IronPython 1.0.2383 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import sys, os.path >>> sys.path.append(os.path.realpath(os.path.join(os.path.curdir, 'site-packages '))) >>> >>> >>> >>> import sqlalchemy Traceback (most recent call last): File , line 0, in <stdin>##73 File , line 0, in __import__##4 File C:\Ip\IronPython\External\Regress\Python24\Lib\site-packages\sqlalchemy\ __init__.py, line 7, in Initialize File , line 0, in __import__##4 File C:\Ip\IronPython\External\Regress\Python24\Lib\site-packages\sqlalchemy\ types.py, line 14, in Initialize File , line 0, in __import__##4 File C:\Ip\IronPython\External\Regress\Python24\Lib\site-packages\sqlalchemy\ util.py, line 205, in Initialize SystemError: Method 'GetDict' on type 'IronPython.NewTypes.System.Object_6_8_11' from assembly 'snippets1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ' is overriding a method that has been overridden. >>>
However, it seems like this may be a different bug than the one that you're talking about. The one above is actually a problem related to deriving from classes with __slots__. I've filed CodePlex bug 901 on this (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkI temId=901). --Bruce -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Tuesday, July 11, 2006 6:07 PM To: Discussion of IronPython Subject: Re: [IronPython] type.__call__ Can anyone reproduce this import bug? SQLAlchemy 0.2.5 release should do. 2006/7/11, Sanghyeon Seo <[EMAIL PROTECTED]>: > There also seems to be a strange import bug, but I couldn't reduce it. > > How to reproduce: > > import sqlalchemy > > Workaround. Swapping following two lines seem to "fix" this with no ill effect: > > from sqlalchemy import util > import util as mapperutil > > To: > > import util as mapperutil > from sqlalchemy import util > > Seo Sanghyeon _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
