[issue5160] Intermittant segmentation fault with ctrl-c (threads and queues)

2009-02-07 Thread Corey Goldberg
Corey Goldberg cgoldb...@gmail.com added the comment: note: on Windows Vista it is not ery intermittant :) crashes every time the program is stopped. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5160

[issue5160] Intermittant segmentation fault with ctrl-c (threads and queues)

2009-02-05 Thread Corey Goldberg
New submission from Corey Goldberg cgoldb...@gmail.com: I can get the Python interpreter to core dump when running the following code: http://pastebin.com/f261f398f To reproduce: - run the above code and press ctrl-c to quit while it is running. It crashes (segfault) the interpreter every few

[issue5160] Intermittant segmentation fault with ctrl-c (threads and queues)

2009-02-05 Thread Corey Goldberg
Corey Goldberg cgoldb...@gmail.com added the comment: little more info: If you create a Queue in the main thread and pass this to each worker thread, it works fine. If you create the Queue inside the worker thread and then pass it to a new thread, it can crash. when it crashes, you get

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
New submission from Corey Goldberg cgoldb...@gmail.com: In the current 3.0 doc for threading: http://docs.python.org/dev/py3k/library/threading.htm it says: Thread.getName() Thread.setName() Old API for name. and Thread.isDaemon() Thread.setDaemon() Old API for daemon. 'name

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg cgoldb...@gmail.com added the comment: sorry for the confusion. The doc might actually be correct, but it seems ambiguous and confusing with respect to the name and daemon properties. if you look here: http://docs.python.org/dev/py3k/library/threading.html scroll down to where

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg cgoldb...@gmail.com added the comment: Just took another look. The doc is correct and already shows name and daemon properties. it was just confusing at first since where it says Old API for name, it links to the new style API and you jump to that section. perhaps it could

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg cgoldb...@gmail.com added the comment: yes if the new style was listed first, and the old style was below and marked as Old API, it would help with some confusion (like I ran into). ___ Python tracker rep...@bugs.python.org http