summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-21 06:27:06 +0200
committerÉric Araujo <merwok@netwok.org>2011-10-21 06:27:06 +0200
commitf89ebdc358402588db893e18e4dd31bc8272b7bf (patch)
tree99c00698f86d45cc7d747e6d15be3528e0d02db4 /Python/import.c
parent3bb8be6d78130dfcf49c4860f0009300508ff92b (diff)
downloadcpython-git-f89ebdc358402588db893e18e4dd31bc8272b7bf.tar.gz
Fix missing imports in setup scripts generated by packaging (#13205).
I’ve made more edits than the bug report suggested to make sure the generated setup script is compatible with many Python versions; a comment in the source explains that in detail. The cfg_to_args function uses old 2.x idioms like codecs.open and RawConfigParser.readfp because I want the setup.py generated by packaging and distutils2 to be the same. Most users won’t see the deprecation warning and I ignore it in the test suite. Thanks to David Barnett for the report and original patch.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions