Curt Hagenlocher wrote:
I ran into this a few months back and concluded that it was some kind
of internal CLR issue. ArgIterator is a special type, most of whose
methods are internal and/or unsafe, and the CLR doesn't seem to like
it when we try to specialize a generic method using that type.
I'm using a Wing script to generate 'pi files' (interface files) to give
me autocomplete on .NET assemblies and types. It introspects everything
in the module and dies when it hits ArgIterator.
I can put code in it to workaround it, but pthpththpbt... :-)
Michael
Is there any particular goal you have where you're trying to use
ArgIterator?
On Mon, Apr 27, 2009 at 7:54 AM, Michael Foord
<fuzzy...@voidspace.org.uk <mailto:fuzzy...@voidspace.org.uk>> wrote:
Hello guys,
>From a standard install of IronPython 2.0.1 on Vista 64, calling
dir on System.ArgIterator blows up:
C:\compile>"C:\Program Files (x86)\IronPython 2.0.1\ipy.exe" -D
-X:TabCompletion
-X:ColorfulConsole
IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.3074
Type "help", "copyright", "credits" or "license" for more information.
>>> from System import ArgIterator
>>> dir(ArgIterator)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: An attempt was made to load a program with an
incorrect format. (Ex
ception from HRESULT: 0x8007000B)
>>>
Michael
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
_______________________________________________
Users mailing list
Users@lists.ironpython.com <mailto:Users@lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com