The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Emile van Sebille <em...@fenx.com>
Date: Sun, 29 Jul 2012 07:42:24 -0700
Local: Sun, Jul 29 2012 10:42 am
Subject: Re: Python Error
On 7/29/2012 5:30 AM subhabangal...@gmail.com said...
> On Sunday, July 29, 2012 2:57:18 PM UTC+5:30, (unknown) wrote:
Now you need to identify the type of the object that is causing python >> Dear Group, >> I was trying to convert the list to a set, with the following code: >> set1=set(list1) > Thanks for the answer. But my list does not contain another list that is the issue. Intriguing. Thinking what to do. to misreport the unhashable type causing the error as the error you're getting says list and you say there isn't one. So, now we have a python bug. >>> set ([1,2,3])
> the code was running fine, but all on a sudden started to give the Try adding the following:
for ii in list1:
Either it's a python bug or there really is a list in there.
Emile
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||