Thanks for the bug report Seo!  I've filed this as CodePlex bug #4233 
(http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython).

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Monday, October 09, 2006 8:44 AM
To: Discussion of IronPython
Subject: [IronPython] Float index incompatibility

Python 2.4.4c0 (#2, Oct  2 2006, 00:57:46) [GCC 4.1.2 20060928 (prerelease) 
(Debian 4.1.1-15)] on linux2 Type "help", "copyright", "credits" or "license" 
for more information.
>>> l = [0]
>>> l[0.5]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: list indices must be integers

IronPython 1.0.2463 on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. 
All rights reserved.
>>> l = [0]
>>> l[0.5]
0

--
Seo Sanghyeon
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to