[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: Removed file: http://bugs.python.org/file18647/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because there is no identified, fixable implementation bug in any particular Python module. The fix for the asyncore *design* will be a new, re-designed module. -- nosy: +terry.reedy resolution: - invalid status: open - closed

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___ ___

[issue9686] asyncore infinite loop on raise

2010-08-26 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I agree with you that asyncore API model is far from being robust and I've personally seen infinite recursion more than once if certain asyncore methods aren't properly subclassed. What I don't understand is what changes you are

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread mmw
New submission from mmw 0xcafef...@gmail.com: def send(self, data): try: result = self.socket.send(data) return result except socket.error, why: if why.args[0] == EWOULDBLOCK: return 0 elif why.args[0] in

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: What change are you proposing? -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - giampaolo.rodola nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Could you provide a code sample which demonstrates the problem? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +josiah.carlson, josiahcarlson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue9686] asyncore infinite loop on raise

2010-08-25 Thread mmw
mmw 0xcafef...@gmail.com added the comment: First it depends on the socket type but might use a select call, secondable raise on a socket.error, thirdable you could call the close_handle with the message and let the guys if he would like to retry, network connection might be capricious