Hello,

I have a problem with "python -S". When python is launched from its build dir,
the extension build dir is not added to sys.path, and thus importing some
modules fails:

$ ./python -S -c "import threading"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/antoine/py3k/pristine/Lib/threading.py", line 6, in <module>
    from time import time as _time, sleep as _sleep
ImportError: No module named time

The problem is that "python -S" is tested by test_cmdline, and it fails if I try
to import the threading module in io.py, as io.py is needed to initialize the
standard streams. 

Any thoughts?

Antoine.


_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to