From ab44d24600585c1abe12241793f79dfd53fc4dd4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 27 Apr 2013 09:39:49 -0400 Subject: Add a note of warning about uninstalling coverage.py after using aggressive subprocess hacks. #223. --- doc/subprocess.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/subprocess.rst b/doc/subprocess.rst index 15fa4c22..41c6e334 100644 --- a/doc/subprocess.rst +++ b/doc/subprocess.rst @@ -64,3 +64,8 @@ The .pth technique seems like a hack, but works, and is documented behavior. On the plus side, you can create the file with any name you like so you don't have to coordinate with other .pth files. On the minus side, you have to create the file in a system-defined directory, so you may need privileges to write it. + +Note that if you use one of these techniques, you must undo them if you +uninstall coverage.py, since you will now me trying to import it during Python +startup. Be sure to remove the change when you uninstall coverage.py, or use a +more defensive approach to importing it. -- cgit v1.2.1