Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26977

Re: Threading KeyError in Python 3.3 beta 2?

From "Blind Anagram" <noname@nowhere.com>
Newsgroups comp.lang.python
References <mbCdndneF4sgRbXNnZ2dnUVZ7vWdnZ2d@brightview.co.uk> <mailman.3222.1344856408.4697.python-list@python.org>
Subject Re: Threading KeyError in Python 3.3 beta 2?
Date 2012-08-13 12:24 +0100
Message-ID <naadncJkoMyRebXNnZ2dnUVZ8mqdnZ2d@brightview.co.uk> (permalink)

Show all headers | View raw


"Chris Angelico"  wrote in message 
news:mailman.3222.1344856408.4697.python-list@python.org...

On Mon, Aug 13, 2012 at 8:36 PM, Blind Anagram <noname@nowhere.com> wrote:
> I thought I would try out Python 3.3 beta 2.
> This works well so far but I keep getting the message:
>
> Exception KeyError: KeyError(6308,) in <module 'threading'    from
> 'c:\\Program Files\\Python33\\lib\\threading.py'> ignored
>
> after some of my python code completes.
> Is this an issue worth reporting?

It might be, but it depends on what your code is and is doing. Can you
put together a minimal test case?

===========
Thank you for your response.

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)

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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