New submission from Ned Batchelder:

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.

----------
messages: 178623
nosy: nedbat
priority: normal
severity: normal
status: open
title: execv (et al.) should invoke atexit handlers before executing new code
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16822>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to