[IronPython] Float index incompatibility
Sanghyeon Seo
sanxiyn at gmail.com
Mon Oct 9 17:43:51 CEST 2006
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
More information about the Ironpython-users
mailing list