Add socketserver running property

Hi all, I would like to attract some attention to: http://bugs.python.org/issue14375 Would this be acceptable? Regards, --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http://code.google.com/p/pysendfile/

On 3/27/2012 10:13 AM, Giampaolo Rodolà wrote:
Attention given. (Issue is about socketserver.) I think it should be at least partly rejected as changing method apis needs a stronger reason that philosophical aesthetics. Perhaps someone else can take a look. -- Terry Jan Reedy

I'm not sure why socketserver isn't left to rot, or used as an example of how not to do things. Most Python APIs are idempotent with regard to methods that would otherwise set an object's state to whatever it already is. I would expose the running property but not make successive starts throw an exception.

On 3/27/2012 10:13 AM, Giampaolo Rodolà wrote:
Attention given. (Issue is about socketserver.) I think it should be at least partly rejected as changing method apis needs a stronger reason that philosophical aesthetics. Perhaps someone else can take a look. -- Terry Jan Reedy

I'm not sure why socketserver isn't left to rot, or used as an example of how not to do things. Most Python APIs are idempotent with regard to methods that would otherwise set an object's state to whatever it already is. I would expose the running property but not make successive starts throw an exception.
participants (3)
-
Giampaolo Rodolà
-
Matt Joiner
-
Terry Reedy