[Python-Dev] Finalizers considered questionable ;) (original) (raw)
Greg Stein gstein@lyra.org
Thu, 16 Mar 2000 04:56:21 -0800 (PST)
- Previous message: [Python-Dev] Finalizers considered questionable ;)
- Next message: [Python-Dev] Allowing multiple socket maps in asyncore (and asynchat)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 16 Mar 2000, Tim Peters wrote:
... IOW, you view "the current circular references involving module globals" as "a design mistake" . And perhaps they are! I wouldn't call it a different topic, though: so long as people are viewing shutdown del problems as just another instance of finalizers in cyclic trash, it makes the latter seem inescapably "normal", and so something that has to be catered to. If you have a way to take the shutdown problems out of the discussion, it would help clarify both topics, at the very least by deconflating them.
Bah. Module globals are easy. My tp_clean suggestion handles them quite easily at shutdown. No more special-code in import.c.
Cheers, -g
-- Greg Stein, http://www.lyra.org/
- Previous message: [Python-Dev] Finalizers considered questionable ;)
- Next message: [Python-Dev] Allowing multiple socket maps in asyncore (and asynchat)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]