[IronPython] bug with copy.copy of System.Int64?
ronnie.maor at gmail.com
Fri Oct 19 14:38:13 PDT 2007
I stumbled across the following problem copying System.Int64:
IronPython 1.1 (1.1) on .NET 2.0.50727.832
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import copy
>>> from System import Int64
>>> x = Int64(3)
Has anyone else come across this problem? Are there other types that will
produce wrong copies?
My current workaround is to convert the Int64 to a long.
Some more notes:
I'm using IronPython 1.1 with CPython 2.4 standard library.
Doesn't happen with Int32
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users