8000 Backport 7963, BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially. by charris · Pull Request #7972 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Backport 7963, BUG: MSVCCompiler grows 'lib' & 'include' env strings exponentially. #7972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

charris
Copy link
Member
@charris charris commented Aug 25, 2016

Backport #7963

Each time an MSVCCompiler was instantiated the old values of
os.environ['lib'] and os.environ['include'] were concatenated to the new
values set by initializing the distutils.msvc{,9}compiler.MSVCCompiler
base class. Consequently when the the old and new values of those
variables were the same, they doubled in size with each instantiation,
leading to quickly hitting the 32,768 character limit.

Each time an MSVCCompiler was instantiated the old values of
os.environ['lib'] and os.environ['include'] were concatenated to the new
values set by initializing the distutils.msvc{,9}compiler.MSVCCompiler
base class.  Consequently when the  the old and new values of those
variables were the same, they doubled in size with each instantiation,
leading to quickly hitting the 32,768 character limit.
@charris charris added this to the 1.11.2 release milestone Aug 25, 2016
@charris charris merged commit e8cadbe into numpy:maintenance/1.11.x Aug 25, 2016
@charris charris deleted the backport-7963 branch August 25, 2016 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0