Thanks Michael, I've opened a bug to fix this: 
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=19278



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Friday, October 31, 2008 4:52 AM
To: Discussion of IronPython
Subject: [IronPython] Confusing Error Message

This had me foxed for a while:

CPython
 >>> 'a' in object()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: iterable argument required
 >>>

IronPython (changeset 42603)
 >>> 'a' in object()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument of type 'str' is not iterable
 >>>


--
Michael Foord
Senior Software Engineer, Resolver Systems Ltd.
[EMAIL PROTECTED]
+44 (0) 20 7253 6372

Try out Resolver One! <http://www.resolversystems.com/get-it/>

17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79 Registered in England and Wales as company number 
5467329.
Registered address: 843 Finchley Road, London NW11 8NA, UK

_______________________________________________
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