) == (Color.Red)
True
[Color.Red] == [Color.Red]
False
[(Color.Red)] == [(Color.Red)]
False
The same kind of comparison will work with IronPython objects.
Andrzej Krzywda
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com
).
The exception you're getting is still potentially interesting - could you
send us the stack trace when running w/ -X:ExceptionDetail ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrzej Krzywda
Sent: Wednesday, June 21, 2006 9:52 AM
To: users
, as we only caught this when moving our
code to the beta 6 IronPython.
See the following email for previous discussions on the subject :
http://lists.ironpython.com/pipermail/users-ironpython.com/2005-May/000644.html
Andrzej Krzywda
Michael Foord
http://www.resolversystems.com
Hi all,
It seems that IronPython doesn't deal correctly with compiler flags
(8192 is the compiler flag for __future__.division).
IronPython Beta 6
exec(compile(print 2/3, string, exec, 8192), {})
0
CPython
exec(compile(print 2/3, string, exec, 8192), {})
0.6667
Andrzej Krzywda
Hi,
IronPython ignores the dont_inherit compiler flag:
IronPython Beta 6:
from __future__ import division
exec(compile(print 2/3, string, exec, 0, 1), {})
0.6667
CPython:
from __future__ import division
exec(compile(print 2/3, string, exec, 0, 1), {})
0
Andrzej Krzywda
Hi,
When there will be support for .NET Attributes in IronPython?
Is there any way currently to mark my class as Serializable?
--
Andrzej
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com