This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients brett.cannon, pitrou, skrah
Date 2012-07-23.10:18:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343038684.54.0.966180035561.issue15434@psf.upfronthosting.co.za>
In-reply-to
Content
Using b127046831e2, I'm experiencing an import problem during the NumPy build.

I've reduced it to this scenario, which works in 3.2 but not in 3.3.
Note that in NumPy's setup.py, the equivalent of /home/stefan/tmp is 
the first entry in sys.path. I'm not sure if this isolated example is 
terribly useful:


$ pwd
/home/stefan/tmp
$ ls distutils/command/
__init__.py  xyz.py
$ cat distutils/command/__init__.py

distutils_all = ['xyz']
__import__('distutils.command',globals(),locals(),distutils_all)

$ cat distutils/command/xyz.py
$
$ python3.2 distutils/command/__init__.py
$
$ /home/stefan/usr/bin/python3.3 distutils/command/__init__.py
Traceback (most recent call last):
  File "distutils/command/__init__.py", line 3, in <module>
    __import__('distutils.command',globals(),locals(),distutils_all)
ImportError: No module named 'distutils.command.xyz'
$
History
Date User Action Args
2012-07-23 10:18:04skrahsetrecipients: + skrah, brett.cannon, pitrou
2012-07-23 10:18:04skrahsetmessageid: <1343038684.54.0.966180035561.issue15434@psf.upfronthosting.co.za>
2012-07-23 10:18:03skrahlinkissue15434 messages
2012-07-23 10:18:03skrahcreate