[IronPython] Float index incompatibility

Dino Viehland dinov at exchange.microsoft.com
Wed Oct 11 01:30:43 CEST 2006


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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 at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list