Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26980
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.04; 'subject:Python': 0.05; 'exception.': 0.07; 'exception:': 0.09; 'aug': 0.13; 'code?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'idle.': 0.16; 'subject:3.3': 0.16; 'subject:beta': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'bit': 0.21; 'import': 0.21; 'fairly': 0.21; 'not,': 0.21; 'received:209.85.214.174': 0.21; 'pre': 0.22; 'produces': 0.22; 'downloaded': 0.24; 'script': 0.24; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'code': 0.31; 'file': 0.32; 'running': 0.32; 'problem': 0.33; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'saved': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'anything': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'short': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'here': 0.65; 'box,': 0.69; 'pasting': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=c1Xx6F45kRzSSddfjEHc39+TFhz0wNU+ad9Opwg0scI=; b=tRWOnYygCt/aUfrxlzpo10caVPoRQb9hI+Pv75F/uspbDjh3CggTaFm8HZEw9vU5Zh KT5Bb/K5+pQzOLiadB/ZL27p99sTUJsf4nNwvQ/WYVub+CWuMaw9ghq22O7vDgK/4KQx Gw8XbZS4xpypQqVft4aCFnTiniKRquvhvW3UTabPmV0o90U51vPbHF6hY2lPc/nX7w2W vFPiNB3XPri4ayBMZzjMxnr7qtbWM7EGVSrMUu3tjrBlzcnjyMo88sFKZnpPpMY2G5bQ P8pG3a7NC53B+5Wn0mbABTRfwK+txEKYqM9lAI5Fr8K1dnpDOBhcG/fKi2J9ZWk8reVM J+8g== |
| MIME-Version | 1.0 |
| In-Reply-To | <naadncJkoMyRebXNnZ2dnUVZ8mqdnZ2d@brightview.co.uk> |
| References | <mbCdndneF4sgRbXNnZ2dnUVZ7vWdnZ2d@brightview.co.uk> <mailman.3222.1344856408.4697.python-list@python.org> <naadncJkoMyRebXNnZ2dnUVZ8mqdnZ2d@brightview.co.uk> |
| Date | Mon, 13 Aug 2012 21:39:13 +1000 |
| Subject | Re: Threading KeyError in Python 3.3 beta 2? |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.3223.1344857956.4697.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1344857956 news.xs4all.nl 6858 [2001:888:2000:d::a6]:46619 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26980 |
Show key headers only | View raw
On Mon, Aug 13, 2012 at 9:24 PM, Blind Anagram <noname@nowhere.com> wrote:
>
> Here is a fairly short bit of code which produces the exception:
>
> for pre in ('12', '13', '14', '15', '21' ):
> n = int(pre + '543')
> s = str(n * n)
> if len(set(s)) == 9:
> print(n, s)
Interesting. I just downloaded a clean 3.3 onto this Windows box,
saved your script to a file ("booom.py" hehe), and ran it - no
exception. Same thing pasting that code into the interactive
interpreter or idle. Did you import anything before running that code?
If not, it may be a site.py problem or something.
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Threading KeyError in Python 3.3 beta 2? "Blind Anagram" <noname@nowhere.com> - 2012-08-13 11:36 +0100
Re: Threading KeyError in Python 3.3 beta 2? Chris Angelico <rosuav@gmail.com> - 2012-08-13 21:13 +1000
Re: Threading KeyError in Python 3.3 beta 2? "Blind Anagram" <noname@nowhere.com> - 2012-08-13 12:24 +0100
Re: Threading KeyError in Python 3.3 beta 2? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-13 11:38 +0000
Re: Threading KeyError in Python 3.3 beta 2? Chris Angelico <rosuav@gmail.com> - 2012-08-13 21:47 +1000
Re: Threading KeyError in Python 3.3 beta 2? Chris Angelico <rosuav@gmail.com> - 2012-08-13 21:39 +1000
Re: Threading KeyError in Python 3.3 beta 2? "Blind Anagram" <noname@nowhere.com> - 2012-08-13 12:51 +0100
Re: Threading KeyError in Python 3.3 beta 2? Chris Angelico <rosuav@gmail.com> - 2012-08-13 21:59 +1000
csiph-web