[IronPython] Set not implement?

Chu Kevin redmoon17 at gmail.com
Mon Aug 8 11:35:24 CEST 2005


a simple example:
>>> basket = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruits = set(basket)               # create a set without duplicates
a error raise:
>>> basket = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruits = set(basket)
IronPython.Objects.PythonNameError: name 'set' is not defined
   at input_6.Run(Frame frame)



More information about the Ironpython-users mailing list