On Tue, Feb 23, 2010 at 2:55 PM, Thomas Heller <thel...@ctypes.org> wrote: > One of my setup scripts contains: > > from distutils.core import DistutilsOptionError > > which doesn't work anymore with Python trunk. Bug in Python, > or in my setup script?
This name was imported in distutils.core but never used, so the import line was removed in trunk, since importing it from core is considered as a mistake. you should do : from distutils.errors import DistutilsOptionError Tarek -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig