[New-bugs-announce] [issue3984] python interpreter import dependency with disutils/util

Tarek Ziadé report at bugs.python.org
Sun Sep 28 11:58:23 CEST 2008

New submission from Tarek Ziadé <ziade.tarek at gmail.com>:

I am trying to write a patch in distutils to make use the standard
logging module, and I had a weird problem:

if I add "import logging" at the top of Lib/distutils/log.py file to
start my work, it just brakes  the interpreter. Python does not find
cStringIO and time modules anymore.

It seems that this is because Lib/site.py calls
distutils.util.get_platform when main() is launched

I have run it with -v to get more info (see the file)

files: tb.txt
messages: 73964
nosy: tarek
severity: normal
status: open
title: python interpreter import dependency with disutils/util
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file11638/tb.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list