Skip to content

Conversation

@markshannon
Copy link
Contributor

@markshannon markshannon commented Jun 17, 2019

Sometimes people commit their virtual environments, presumably by mistake.
This can mean that there are duplicates of many modules as we extract both the ones in the standard library/installed by pip and those in the venv.
This PR makes it much more likely that there is only object per module when performing points-to analysis, and avoids exponential blow-up when computing MROs and the like.

@markshannon markshannon added this to the 1.21.0 milestone Jun 17, 2019
@markshannon markshannon force-pushed the python-no-duplicate-modules branch from 96e0d67 to 62591e4 Compare June 17, 2019 16:53
@taus-semmle taus-semmle merged commit bc7e6af into github:rc/1.21 Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants