[issue2944] asyncore doesn't handle connection refused correctly

2010-08-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Just to close the loop: thanks for reverting this for 2.6.6! -- ___ Python tracker ___ ___ Python-b

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Ok, no problem. Reverted in r83969. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread R. David Murray
R. David Murray added the comment: The question isn't when it was released, but when it was tagged, and that happened at Aug 3 22:51:57 2010 UTC according to svn. Your commit was made Aug 4 08:58:38 2010 UTC. -- nosy: +r.david.murray ___ Python tr

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The commit was made on August 04, 11:05 AM, while rc1 was released at 06:09 PM. I don't think the patch is going to introduce any problem but if you think it's the case to revert it then I'll do it. -- ___ Python

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I agree w/mvl. Giampaolo, please revert this for 2.6.6. -- ___ Python tracker ___ ___ Python-bugs-

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: The bug is not a regression since 2.6.5; AFAICT, it was in Python "forever". I recommend to revert the checkin, and postpone fixing it to 2.7.1. -- ___ Python tracker ___

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: What date would the final release then be made? It would be best if it could be done before Aug 27. If necessary, I could also make a release on September 6 (but not any day before or after) -- ___ Python tracker

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- priority: normal -> release blocker status: closed -> open ___ Python tracker ___ ___ Python-bugs-list

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The fix for this was applied after 2.6.6rc1, and it wasn't approved by me. Is it critical for 2.6? Is it a regression since 2.6.5? The way I see it, we either back this out or release an rc2. There may be other reasons to release an rc2, but I need to ve

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Fixed in r83703 (2.7), r83704 (2.6), r83705 (3.2) and r83706 (3.1). Thanks for the patch. -- resolution: -> fixed status: open -> closed versions: +Python 2.6, Python 3.1, Python 3.2 ___ Python tracker

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Assigning this to me. The patch looks correct, it only needs tests assuming it is possible to write a reliable test for this. -- assignee: -> giampaolo.rodola ___ Python tracker

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2944] asyncore doesn't handle connection refused correctly

2009-03-28 Thread intgr
Changes by intgr : -- nosy: +intgr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailma

[issue2944] asyncore doesn't handle connection refused correctly

2008-12-17 Thread Forest Wilkinson
Changes by Forest Wilkinson : -- nosy: +forest ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue2944] asyncore doesn't handle connection refused correctly

2008-10-01 Thread Alexander Shigin
Alexander Shigin <[EMAIL PROTECTED]> added the comment: I've got the same error in r64768. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-

[issue2944] asyncore doesn't handle connection refused correctly

2008-10-01 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: This should have already been fixed in r64062. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2944] asyncore doesn't handle connection refused correctly

2008-07-08 Thread Alexander Shigin
Changes by Alexander Shigin <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10401/asyncore-connect-patch.diff ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2944] asyncore doesn't handle connection refused correctly

2008-07-08 Thread Alexander Shigin
Alexander Shigin <[EMAIL PROTECTED]> added the comment: Here is a new patch against r64768 The new patch raise an exception if asynchronous connect fails. Added file: http://bugs.python.org/file10856/asyncore-connect-patch.diff ___ Python tracker <[EMAIL PRO

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-24 Thread Alexander Shigin
Alexander Shigin <[EMAIL PROTECTED]> added the comment: Oh, fine. May be handle_error should have been called, but anyway not handle_connect. But in my mind, handle_expt is better. __ Tracker <[EMAIL PROTECTED]> __

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-24 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: By trying your script on Linux and Windows I notice different behaviors. On Windows handle_expt is always called. On Linux, no matter if using select or poll, handle_accept is called, then an exception is thrown at the time the data is goin

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola, josiah.carlson, josiahcarlson __ Tracker <[EMAIL PROTECTED]> __ __

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-22 Thread Alexander Shigin
Alexander Shigin <[EMAIL PROTECTED]> added the comment: Oh, I've just realised that FreeBSD is too fast. test_async_connect.py works fine on linux box, but on FreeBSD i need to change localhost to another host :( I haven't got any idea how to make a test case which work on any machine. _

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-22 Thread Alexander Shigin
Alexander Shigin <[EMAIL PROTECTED]> added the comment: Patch against r63534 fix the issue. -- keywords: +patch Added file: http://bugs.python.org/file10401/asyncore-connect-patch.diff __ Tracker <[EMAIL PROTECTED]>

[issue2944] asyncore doesn't handle connection refused correctly

2008-05-22 Thread Alexander Shigin
New submission from Alexander Shigin <[EMAIL PROTECTED]>: Unix select returns socket in read fd set and write fd set if nonblocking socket attempts to connect to unaviable address. asyncore should check this case by calling getsockopt with SO_ERROR optname. If return value is 0 it should call