Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Python Error

Received: by 10.66.76.130 with SMTP id k2mr1340768paw.16.1343565097549;
        Sun, 29 Jul 2012 05:31:37 -0700 (PDT)
Path: c10ni48859pbw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From: subhabangal...@gmail.com
Newsgroups: comp.lang.python
Subject: Re: Python Error
Date: Sun, 29 Jul 2012 05:30:15 -0700 (PDT)
Organization: http://groups.google.com
Lines: 43
Message-ID: <86285e84-bc6e-4527-9af5-c29f8c9716c0@googlegroups.com>
References: <81818a9c-60d3-48da-9345-0c0dfd5b25e7@googlegroups.com>
NNTP-Posting-Host: 122.161.158.41
Mime-Version: 1.0
X-Trace: posting.google.com 1343565097 10851 127.0.0.1 (29 Jul 2012 12:31:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 29 Jul 2012 12:31:37 +0000 (UTC)
In-Reply-To: <81818a9c-60d3-48da-9345-0c0dfd5b25e7@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.161.158.41;
 posting-account=6SonuQoAAACzSakS5dCECcJQe6ylLrzY
User-Agent: G2/1.0
Content-Type: text/plain; charset=ISO-8859-1

On Sunday, July 29, 2012 2:57:18 PM UTC+5:30, (unknown) wrote:
> Dear Group,
> 
> 
> 
> I was trying to convert the list to a set, with the following code:
> 
> 
> 
> set1=set(list1)
> 
> 
> 
Dear Peter,
Thanks for the answer. But my list does not contain another list that is the issue. Intriguing. Thinking what to do. 
Regards,
Subhabrata. 
> the code was running fine, but all on a sudden started to give the following error,
> 
> 
> 
> set1=set(list1)
> 
> TypeError: unhashable type: 'list'
> 
> 
> 
> please let me know how may I resolve.
> 
> 
> 
> And sometimes some good running program gives error all on a sudden with no parameter changed, how may I debug it?
> 
> 
> 
> Thanking You in Advance,
> 
> 
> 
> Regards,
> 
> Subhabrata Banerjee.