[Python-Dev] rename of ConfigParser module?
Nick Coghlan
ncoghlan at gmail.com
Thu May 15 15:48:21 CEST 2008
Mark Hammond wrote:
> Trying to build pywin32 from the trunk, I see:
>
> from distutils.config import PyPIRCCommand
> File "C:\src\python-svn\lib\distutils\config.py", line 8, in <module>
> from ConfigParser import ConfigParser
> ImportError: No module named ConfigParser
>
> Digging a little deeper, I see:
>
> |r63242 | alexandre.vassalotti | 2008-05-15 08:07:07 +1000 (Thu, 15 May
> 2008) | 2 lines
> |
> |Renamed the ConfigParser module to 'configparser'.
>
> Is there something I've missed?
My money would be on the warning from the build process that
Modules/Setup.dist is newer than Modules/Setup :)
To keep NTFS and any other case insensitive filesystems from choking on
module renames which only differ by case, the old names have been moved
to the lib-old directory. You need the newer Setup file to get that
directory to appear in sys.path.
(Hmm, is changing Modules/Setup enough to sort the Windows build out as
well? Or does that need a separate change to some of the Visual Studio
files?)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list