Message166218
| 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:04 | skrah | set | recipients:
+ skrah, brett.cannon, pitrou |
| 2012年07月23日 10:18:04 | skrah | set | messageid: <1343038684.54.0.966180035561.issue15434@psf.upfronthosting.co.za> |
| 2012年07月23日 10:18:03 | skrah | link | issue15434 messages |
| 2012年07月23日 10:18:03 | skrah | create |
|