This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients LambertDW, akuchling, brett.cannon, brian.curtin, eric.araujo, flox, ggenellina, gregory.p.smith, hozn, marystern, pitrou, tormen, vstinner
Date 2010-04-26.20:31:08
SpamBayes Score 1.1009116e-07
Marked as misclassified No
Message-id <1272313870.42.0.55106249925.issue5099@psf.upfronthosting.co.za>
In-reply-to
Content
I was just following the style already set in __del__ for storing a reference to sys (that and I didn't feel like having to explicitly store all of those references in the __init__ or at the class level just above the methods).

As for using atexit, it's possible that could be the proper solution, it just requires someone coding it up before we hit 2.7rc1.
History
Date User Action Args
2010-04-26 20:31:10brett.cannonsetrecipients: + brett.cannon, akuchling, gregory.p.smith, ggenellina, pitrou, vstinner, LambertDW, eric.araujo, marystern, brian.curtin, hozn, flox, tormen
2010-04-26 20:31:10brett.cannonsetmessageid: <1272313870.42.0.55106249925.issue5099@psf.upfronthosting.co.za>
2010-04-26 20:31:09brett.cannonlinkissue5099 messages
2010-04-26 20:31:08brett.cannoncreate