Add alias to restore 2.7.2 compatibility for setup scripts (#13994).
authorÉric Araujo <merwok@netwok.org>
Sun, 3 Feb 2013 16:41:19 +0000 (11:41 -0500)
committerÉric Araujo <merwok@netwok.org>
Sun, 3 Feb 2013 16:41:19 +0000 (11:41 -0500)
commit3e081c73b8ab1780740794a9cf718ec330dba9d7
tree7a184509a51d7644a37aef6868da7f19655d188f
parent354d50ee37f2c7e96812a2824b5e899cfd5ee3b1
Add alias to restore 2.7.2 compatibility for setup scripts (#13994).

The customize_compiler function moved many times during the 2.7 series;
in 2.7.3, setup scripts importing this function from ccompiler were
broken.  This commit restores compatibility without reintroducing the
issue that #13994 originally fixed (duplication of the function).

A unit test makes little sense here, as distutils tests never do imports
in functions, and the fix is very simple.
Lib/distutils/ccompiler.py
Misc/NEWS