Thanks Michael!
On Fri, May 21, 2010 at 12:11 PM, Michael Foord
<[email protected]>wrote:
> On 21/05/2010 12:05, Rohit Aggarwal wrote:
>
> Hello,
> The following program 'True' in IronPython and 'False' in CPython.
>
> --
> import pickle
>
> data = {"msg":"Hello world"}
> print isinstance(pickle.dumps(data), unicode)
> --
>
> Is that the intended behaviour?
>
>
> Yes. pickle.dumps returns a string and in IronPython strings are unicode.
>
> Michael
>
> Thanks
> Rohit Aggarwal
>
>
> _______________________________________________
> Users mailing [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>
> -- 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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com