[Python-Dev] Better module shutdown procedure
nas at arctrix.com
Wed Oct 14 23:45:06 CEST 2009
On Wed, Oct 14, 2009 at 08:35:28PM -0000, exarkun at twistedmatrix.com wrote:
> I notice that the patch doesn't include any unit tests for the feature
> being provided
That's hard to do although I suppose not impossible. We would be
trying to test the interpreter shutdown procedure. I suppose on
plaforms that support it we could fork a subprocess and then inspect
the output from __del__ methods.
> (it does change test_sys.py - although I don't understand how
> that change is related to this feature).
That's a spurious change and will be left out of the real fix.
More information about the Python-Dev