Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7318] multiprocessing should not wait endlessly

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 13, 2009, 11:28 AM

Post #1 of 7 (266 views)
Permalink
[issue7318] multiprocessing should not wait endlessly

New submission from Antoine Pitrou <pitrou [at] free>:

SocketClient() in multiprocessing.connection loops endlessly when the
connection is refused. It shouldn't, and instead use a timeout.
This is especially annoying since SocketClient() can be called as part
of finalizing an object, which makes debugging very annoying (see
issue7060).

----------
assignee: jnoller
components: Library (Lib)
messages: 95198
nosy: jnoller, pitrou
priority: critical
severity: normal
stage: needs patch
status: open
title: multiprocessing should not wait endlessly
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 13, 2009, 2:06 PM

Post #2 of 7 (245 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Please review.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file15323/mptimeout.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 13, 2009, 2:09 PM

Post #3 of 7 (244 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

Patch seems fine, going to test it against trunk locally

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 13, 2009, 2:21 PM

Post #4 of 7 (242 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

Passes on OS/X 10.6.2, I'm ok with it

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 13, 2009, 2:40 PM

Post #5 of 7 (240 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Ok, this is now committed to all 4 branches. Amusingly, it seems to
solve the test_multiprocessing freeze/failure problem in py3k...
(I still hope you can find some time to make multiprocessing more robust
and less baroque inside!)

----------
resolution: -> fixed
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 13, 2009, 2:43 PM

Post #6 of 7 (241 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Jesse Noller <jnoller [at] gmail> added the comment:

On Nov 13, 2009, at 5:40 PM, Antoine Pitrou <report [at] bugs>
wrote:

>
> Antoine Pitrou <pitrou [at] free> added the comment:
>
> Ok, this is now committed to all 4 branches. Amusingly, it seems to
> solve the test_multiprocessing freeze/failure problem in py3k...
> (I still hope you can find some time to make multiprocessing more
> robust
> and less baroque inside!)
>

So do I and I'm sorry I haven't been able to yet. First on my list is
a total test suite scrub.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 17, 2009, 2:50 AM

Post #7 of 7 (209 views)
Permalink
[issue7318] multiprocessing should not wait endlessly [In reply to]

Kristján Valur Jónsson <kristjan [at] ccpgames> added the comment:

See also issue 7314

----------
nosy: +krisvale

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7318>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.