Author nedbat
Recipients nedbat
Date 2012-12-30.22:38:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356907108.89.0.568486797575.issue16822@psf.upfronthosting.co.za>
In-reply-to
Content
If I register an atexit handler, and then call os.execv, the handler is not invoked before my process changes over to the new program.  Shouldn't it be?  My program is ending, so my atexit handlers should be invoked.

This is based on this coverage.py bug:  https://bitbucket.org/ned/coveragepy/issue/43/coverage-measurement-fails-on-code  If the atexit handlers were invoked as part of os.execv, it would work properly.
History
Date User Action Args
2012-12-30 22:38:28nedbatsetrecipients: + nedbat
2012-12-30 22:38:28nedbatsetmessageid: <1356907108.89.0.568486797575.issue16822@psf.upfronthosting.co.za>
2012-12-30 22:38:28nedbatlinkissue16822 messages
2012-12-30 22:38:28nedbatcreate