Benjamin Peterson <benja...@python.org> added the comment: 2011/3/20 Darren Dale <rep...@bugs.python.org>: > > Darren Dale <dsdal...@gmail.com> added the comment: > > On Sun, Mar 20, 2011 at 5:18 AM, Daniel Urban <rep...@bugs.python.org> wrote: >> >> Daniel Urban <urban.dani...@gmail.com> added the comment: >> >> I tried to test your patch, but the build dies with this error: >> Fatal Python error: Py_Initialize: can't initialize sys standard streams >> Traceback (most recent call last): >> File ".../cpython/Lib/io.py", line 60, in <module> >> Aborted >> >> I don't know why is this, but I get this error consistently with your patch, >> and no error without the patch. > > Have you added any print statements to the patch? I'm working on a > completely new patch, which only touches abc.py on an existing > python3.2 install. When I add a print statement to the abstract > property creation routine, and run test_abc.py, I get the same error.
That's likely because the io library depends on abcs, so using print in them creates a dependency cycle. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11610> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com