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 ncoghlan
Recipients brett.cannon, jaysinh.shukla, ncoghlan, nedbat
Date 2017-04-06.09:39:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491471565.56.0.979622421493.issue11978@psf.upfronthosting.co.za>
In-reply-to
Content
To be more specific regarding `sitecustomize.py`:

    $ echo "print('Hello from sitecustomize.py')" > Lib/sitecustomize.py
    $ ./python -c "print('Hello from command line')"
    Hello from sitecustomize.py
    Hello from command line

Since we only need these instructions to work for a local checkout, we can rely on the `sitecustomize.py` hook.

It means we'll still miss coverage results from subprocess tests run in isolated mode or with site.py processing disabled, but those are both relatively rare and involve *not* running code that is normally run, so shouldn't impact the aggregate coverage results.
History
Date User Action Args
2017-04-06 09:39:25ncoghlansetrecipients: + ncoghlan, brett.cannon, nedbat, jaysinh.shukla
2017-04-06 09:39:25ncoghlansetmessageid: <1491471565.56.0.979622421493.issue11978@psf.upfronthosting.co.za>
2017-04-06 09:39:25ncoghlanlinkissue11978 messages
2017-04-06 09:39:25ncoghlancreate