Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26184
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'debug': 0.05; 'parameter': 0.07; 'subject:Error': 0.07; 'type,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'typeerror:': 0.09; 'message-id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'set,': 0.16; 'type:': 0.16; 'unhashable': 0.16; 'wrote:': 0.17; 'issue.': 0.20; 'trying': 0.21; 'do.': 0.21; 'fine,': 0.22; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.28; 'convert': 0.29; 'error': 0.30; 'code': 0.31; 'from:addr:yahoo.co.uk': 0.32; 'running': 0.32; 'print': 0.32; 'to:addr:python-list': 0.33; 'code:': 0.33; 'another': 0.33; 'entry': 0.33; 'thanks': 0.34; 'list': 0.35; 'sometimes': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'group,': 0.60; 'july': 0.60; 'email addr:gmail.com': 0.63; 'dear': 0.66; 'answer.': 0.71; 'peter,': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: Python Error |
| Date | Sun, 29 Jul 2012 14:53:44 +0100 |
| References | <81818a9c-60d3-48da-9345-0c0dfd5b25e7@googlegroups.com> <86285e84-bc6e-4527-9af5-c29f8c9716c0@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-78-146-5-185.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
| In-Reply-To | <86285e84-bc6e-4527-9af5-c29f8c9716c0@googlegroups.com> |
| X-Antivirus | avast! (VPS 120729-0, 29/07/2012), Outbound message |
| X-Antivirus-Status | Clean |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2684.1343569955.4697.python-list@python.org> (permalink) |
| Lines | 39 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343569955 news.xs4all.nl 6920 [2001:888:2000:d::a6]:47855 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26184 |
Show key headers only | View raw
On 29/07/2012 13:30, subhabangalore@gmail.com wrote: > 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. Can you loop round the list and print each entry and its type, that should give you some clues? >> 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. > -- Cheers. Mark Lawrence.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python Error subhabangalore@gmail.com - 2012-07-29 02:27 -0700
Re: Python Error Peter Otten <__peter__@web.de> - 2012-07-29 13:08 +0200
Re: Python Error subhabangalore@gmail.com - 2012-07-29 05:30 -0700
Re: Python Error Thomas Jollans <t@jollybox.de> - 2012-07-29 14:45 +0200
Re: Python Error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-29 14:53 +0100
Re: Python Error Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-29 14:01 +0000
Re: Python Error Emile van Sebille <emile@fenx.com> - 2012-07-29 07:42 -0700
Re: Python Error Roy Smith <roy@panix.com> - 2012-07-29 10:23 -0400
Re: Python Error subhabangalore@gmail.com - 2012-07-29 07:41 -0700
Re: Python Error Jürgen A. Erhard <jae@jaerhard.com> - 2012-07-29 15:57 +0200
Re: Python Error Duncan Booth <duncan.booth@invalid.invalid> - 2012-07-30 11:15 +0000
Re: Python Error subhabangalore@gmail.com - 2012-07-29 07:36 -0700
Re: Python Error Chris Angelico <rosuav@gmail.com> - 2012-07-30 01:12 +1000
csiph-web