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 mark.dickinson
Recipients gerluijten, mark.dickinson, ned.deily, pitrou, tarek
Date 2009-04-24.22:09:57
SpamBayes Score 3.234394e-10
Marked as misclassified No
Message-id <1240611000.04.0.0905015699495.issue4951@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, I think I've got this figured out.  It's a problem in the distutils 
tests: the mechanism for saving and restoring environment variables in

Lib/distutils/tests/test_util.py

doesn't work:  after the line

        self.environ = os.environ

in the setUp method, self.environ and os.environ refer to the same object, 
so restoring using "os.environ = self.environ" doesn't do anything.

The attached patch (against py3k) fixes the problem for me;  trunk also 
appears to have this bug.

Assigning to Tarek.
History
Date User Action Args
2009-04-24 22:10:00mark.dickinsonsetrecipients: + mark.dickinson, pitrou, tarek, ned.deily, gerluijten
2009-04-24 22:10:00mark.dickinsonsetmessageid: <1240611000.04.0.0905015699495.issue4951@psf.upfronthosting.co.za>
2009-04-24 22:09:57mark.dickinsonlinkissue4951 messages
2009-04-24 22:09:57mark.dickinsoncreate