Fix over-aggressive sys.modules scrubbing for namespace packages.

Review Request #1378 - Created Nov. 21, 2014 and submitted

Information
Brian Wickman (Twitter)
pex
c83ae5e...
Reviewers
dturner-tw, ji

Fix over-aggressive sys.modules scrubbing for namespace packages.

This bug manifested itself when running our internal pants in a virtualenv that already had pants installed, resulting in some bizarre conflicts of namespace packages. I verified the fix by manually patching this version of pex into the existing pants internal pex. However I could not come up with a succint unit or integration test to cover it.

Existing tests continue to pass: https://travis-ci.org/wickman/pex/builds/41673725

Brian Wickman (Twitter)
David Turner
Brian Wickman (Twitter)
Review request changed

Status: Closed (submitted)

Loading...