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 henry.precheur
Recipients henry.precheur
Date 2011-06-24.21:57:56
SpamBayes Score 4.5980455e-09
Marked as misclassified No
Message-id <1308952676.91.0.708236346954.issue12401@psf.upfronthosting.co.za>
In-reply-to
Content
"make test" calls Python with the -E option which ignore the PYTHON*
environment variables, but Python sub-processes aren't necessarily called with the -E options. For example test_displayhook_unencodable in test_cmd_line. This created problems with my own PYTHONSTARTUP script.

I see 2 solutions to this problems:

1. Fix the tests that might be affected by such problems, by adding the -E option everywhere needed.
2. Fix the Makefile and unset all the PYTHON* environment variables in it.

I think that solution #2 is better. Fixing the tests can be done today, but the authors of future tests might not be aware of this issue. By fixing the Makefile we prevent this problem to occur again in the future.
History
Date User Action Args
2011-06-24 21:57:56henry.precheursetrecipients: + henry.precheur
2011-06-24 21:57:56henry.precheursetmessageid: <1308952676.91.0.708236346954.issue12401@psf.upfronthosting.co.za>
2011-06-24 21:57:56henry.precheurlinkissue12401 messages
2011-06-24 21:57:56henry.precheurcreate