Hello all,
The following code dies in Silverlight:
import clr
clr.AddReference("System.Xml")
"System.Xml" in [assembly.GetName().Name for assembly in clr.References]
SystemError: Security transparent method
System.Reflection.Assebly.GetName() cannot access
Microsoft.Scripting.Actions... using reflection.
This is making it less useful to port the IronPython dotnet integration
tutorial to Try Python. :-)
Repeated calls throw a slightly different error in the end (still a
system error - but a different message).
All the best,
Michael Foord
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of
your employer, to release me from all obligations and waivers arising from any
and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap,
clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and
acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your
employer, its partners, licensors, agents and assigns, in perpetuity, without
prejudice to my ongoing rights and privileges. You further represent that you
have the authority to release me from any BOGUS AGREEMENTS on behalf of your
employer.
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com