Message2625

Author leouserz
Recipients
Date 2007-01-17.18:00:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Attached is a patch for:
http://sourceforge.net/tracker/index.php?func=detail&aid=448398&group_id=12867&atid=112867

and a test case that covers these situations:
1. Garbage collection/finalization close
2. Regular close
3. Shutdown time, close out open PyFiles

The patch is structured in way that allows finalization of PyFiles but also allows other mechanisms to close it down.  The results I see are files being populated with their data.  Which is especially important in situations 1 and 3.

The weak link is if the runtime security is configured so that shutdown hooks can't be added.  But alas what else is there to attempt to shutdown?  Ive stayed away from runFinalizationOnExit since it is deprecated and according to the documentation, unsafe.

leouser
History
Date User Action Args
2008-02-20 17:18:38adminlinkissue1637931 messages
2008-02-20 17:18:38admincreate