[IronPython] codecs module in Silverlight

Lukas Cenovsky cenovsky at bakalari.cz
Tue Dec 15 11:15:28 CET 2009


Michael Foord wrote:
> On 15/12/2009 00:55, Lukas Cenovsky wrote:
>> Hi all,
>> I cannot import codecs module in Silverligh IronPython - it throws 
>> NameError for lookup_error method. The reason is this method is not 
>> in the _codecs module of Silverlight IronPython:
>
> Yeah, this is a problem that prevents you using simplejson in 
> Silverlight as well. :-(
>
> Michael
Yep - I found your message from last month this morning.
The whole browser crashes when I try to import simplejson (after adding 
lookup_error to _codecs).
Have you hacked it somehow or do you use something else (Newtonsoft 
Json.NET)?

--
-- Lukáš




More information about the Ironpython-users mailing list