[ python-Bugs-1269051 ] atexit not called for pythonservice (win32)

SourceForge.net noreply at sourceforge.net
Fri Aug 26 03:53:20 CEST 2005


Bugs item #1269051, was opened at 2005-08-24 13:05
Message generated for change (Comment added) made by haridsv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1269051&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: 3rd Party
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Hari Krishna Dara (haridsv)
Assigned to: Nobody/Anonymous (nobody)
Summary: atexit not called for pythonservice (win32)

Initial Comment:
I have a couple of functions registered with atexit
which work fine when the program is executed on
command-line. But when I run the same as a windows
service, and stop the service using service interface,
these hooks never get call backs. The service does exit
normally (at least my program doesn't do os._exit() and
there are no exceptions).

I am using ActiveState's distribution of python, but I
would imagine this is non-specific.

----------------------------------------------------------------------

>Comment By: Hari Krishna Dara (haridsv)
Date: 2005-08-25 18:53

Message:
Logged In: YES 
user_id=344432

Thanks for pointing it out. I have logged an issue at:

https://sourceforge.net/tracker/index.php?func=detail&aid=1273738&group_id=78018&atid=551954

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-08-25 04:35

Message:
Logged In: YES 
user_id=21627

Well, it is specific in the sense that the Windows service
integration is not part of the standard Python distribution.
So I recommend to report this to pythonwin:

https://sourceforge.net/projects/pywin32/

Closing this report as third-party.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1269051&group_id=5470


More information about the Python-bugs-list mailing list