[New-bugs-announce] [issue9788] atexit and execution order

Giampaolo Rodola' report at bugs.python.org
Tue Sep 7 12:27:14 CEST 2010

New submission from Giampaolo Rodola' <g.rodola at gmail.com>:

import atexit

def goodbye1():
def goodbye2():

The code above prints:


...that is, the last registered function is executed first.
Wouldn't the contrary be better?

components: Library (Lib)
messages: 115747
nosy: giampaolo.rodola
priority: normal
severity: normal
status: open
title: atexit and execution order
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list