Message174612
| Author |
scoder |
| Recipients |
scoder |
| Date |
2012年11月03日.12:42:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351946554.54.0.101006341814.issue16392@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
After compiling the stdlib with Cython with the attached script, modules that use circular imports fail to initialise. That includes os and posixpath, as well as shutil and tarfile. Example:
$ ./python -c 'import shutil'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "tarfile.py", line 44, in init tarfile (tarfile.c:44135)
import shutil
File "shutil.py", line 14, in init shutil (shutil.c:22497)
import tarfile
File "<frozen importlib._bootstrap>", line 1556, in _find_and_load
RuntimeError: maximum recursion depth exceeded
I've tried this with the latest CPython 3.4 hg version, but I'm pretty sure it fails in Py3.3 as well. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年11月03日 12:42:34 | scoder | set | recipients:
+ scoder |
| 2012年11月03日 12:42:34 | scoder | set | messageid: <1351946554.54.0.101006341814.issue16392@psf.upfronthosting.co.za> |
| 2012年11月03日 12:42:34 | scoder | link | issue16392 messages |
| 2012年11月03日 12:42:33 | scoder | create |
|