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.

classification
Title: io.py standart stream setup crash
Type: crash Stage:
Components: IO Versions: Python 3.3
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, pitrou, rhettinger, sdaoden, vstinner
Priority: critical Keywords:

Created on 2011-02-22 12:49 by sdaoden, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (8)
msg129065 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-22 12:49
Just pulled 64380ee4bbc5 (r88500) and compiled, Python's busted:

Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
  File "/Users/steffen/usr/opt/py3k/lib/python3.3/io.py", line 60, in <module>
Abort trap
msg129068 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-02-22 13:01
Can you try to identify which revision introduced the issue?
msg129070 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-22 13:06
Let me see some minutes.
msg129074 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-22 13:39
According to adorable but slow Mercurial:

The first bad revision is:
changeset:   9894:fc8a94cc17a4
branch:      py3k
user:        raymond.hettinger
date:        Tue Feb 22 01:41:50 2011 +0100
summary:     [svn r88490] Issue #11085: Moved collections abstract base classes into a separate module
msg129169 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-23 11:03
Hmm.  Note that this problem does *not* occur if i don't install Python but run it in place, e.g. 'cd Lib/test; ../../python.exe -m test -v -uall test_iter' works just perfect.
msg129170 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-23 11:11
... and the problem is all gone with 8c2935f180fa/r88525.
So i'm faitful now and close this early alpha-stage problem.
One of the nosy ones may add a nice description, re-open it or so.
msg129171 - (view) Author: Steffen Daode Nurpmeso (sdaoden) Date: 2011-02-23 11:13
(.. should close it, then.)
msg129173 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-02-23 11:18
For the record:

> e.g. 'cd Lib/test; ../../python.exe -m test -v -uall test_iter' works
> just perfect.

You don't need to "cd". Just "./python -m test (etc.)".
See http://docs.python.org/devguide/runtests.html for more information.
History
Date User Action Args
2022-04-11 14:57:13adminsetgithub: 55494
2011-02-23 11:18:48pitrousetnosy: rhettinger, pitrou, vstinner, ned.deily, sdaoden
resolution: works for me
2011-02-23 11:18:33pitrousetnosy: rhettinger, pitrou, vstinner, ned.deily, sdaoden
messages: + msg129173
2011-02-23 11:13:28sdaodensetstatus: open -> closed
nosy: rhettinger, pitrou, vstinner, ned.deily, sdaoden
messages: + msg129171
2011-02-23 11:11:21sdaodensetnosy: rhettinger, pitrou, vstinner, ned.deily, sdaoden
messages: + msg129170
2011-02-23 11:03:25sdaodensetnosy: rhettinger, pitrou, vstinner, ned.deily, sdaoden
messages: + msg129169
2011-02-22 13:43:47pitrousetnosy: + rhettinger
2011-02-22 13:39:17sdaodensetnosy: pitrou, vstinner, ned.deily, sdaoden
messages: + msg129074
2011-02-22 13:06:34sdaodensetnosy: pitrou, vstinner, ned.deily, sdaoden
messages: + msg129070
2011-02-22 13:01:29pitrousetpriority: normal -> critical
nosy: + vstinner, ned.deily, pitrou
messages: + msg129068

2011-02-22 12:49:06sdaodencreate