New submission from Alex Gaynor:

If one invokes some distutils code too early, this function will try to read 
``_config_vars`` before it is initialized. 
http://bpaste.net/show/1DOGhL8sdnkPyLTL06AZ/ is an example traceback that 
results.

The attached patch uses the public API which guarantees that it is defined.

----------
components: Distutils
files: sysconfig.diff
keywords: patch
messages: 222373
nosy: alex, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: distutils.sysconfig.customize_compiler will try to read variable that 
has not been initialized
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file35870/sysconfig.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to