New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py3k build fails if configure --without-threads #48062
Comments
Hello. I failed to build py3k on cygwin (configure --without-threads). Attached file is workaround patch. ///////////////////////////// Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/home/WhiteRabbit/python-dev/py3k/Lib/io.py", line 64, in <module>
from _thread import allocate_lock as Lock
ImportError: No module named _thread
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/WhiteRabbit/python-dev/py3k/Lib/io.py", line 66, in <module>
from _dummy_thread import allocate_lock as Lock
File "/home/WhiteRabbit/python-dev/py3k/Lib/_dummy_thread.py", line
19, in <mo
dule>
import traceback as _traceback
File "/home/WhiteRabbit/python-dev/py3k/Lib/traceback.py", line 6, in
<module> import itertools
ImportError: No module named itertools
Aborted (core dumped) |
Sorry, I removed workaround patch. It was not simply working.:-( |
Simple workaround is to remove itertools from traceback module and write I'm not sure it is acceptable put such limitation to standard library. |
Agreed. I suggest that you add a comment like Please apply it. |
Thanks, fixed in r66340(py3k). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: