Author Esa.Peuha
Recipients Esa.Peuha, christian.heimes, ned.deily, ronaldoussoren, vstinner
Date 2013-10-22.11:43:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382442227.26.0.811737004784.issue19325@psf.upfronthosting.co.za>
In-reply-to
Content
Actually Lib/_osx_support.py directly imports only five modules: os, re and sys at top level, and contextlib and tempfile in _read_output(). These last two aren't really needed at all, and there's no point even trying to avoid importing os and sys, so the only real problem is re which imports lots of other modules. It might be possible to avoid using re (the regular expressions don't look very complicated) but I noticed that some functions are only ever called from distutils, so maybe they should be moved from _osx_support to distutils._osx_support before doing anything else. I'm willing to do that if it's considered a good idea.
History
Date User Action Args
2013-10-22 11:43:47Esa.Peuhasetrecipients: + Esa.Peuha, ronaldoussoren, vstinner, christian.heimes, ned.deily
2013-10-22 11:43:47Esa.Peuhasetmessageid: <1382442227.26.0.811737004784.issue19325@psf.upfronthosting.co.za>
2013-10-22 11:43:47Esa.Peuhalinkissue19325 messages
2013-10-22 11:43:47Esa.Peuhacreate