[Python-3000] Trunk broken ?

Anand Balachandran Pillai abpillai at gmail.com
Tue Apr 15 10:43:03 CEST 2008


Hi list,

 After updating py3k trunk to the most recent svn version
(62349) and building Python, I am getting the following
error while trying to start the interpreter.

[anand at localhost ~]$ /usr/local/bin/python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
  File "/usr/local/lib/python3.0/io.py", line 63, in <module>
    import warnings
  File "/usr/local/lib/python3.0/warnings.py", line 280, in <module>
    bytes_warning = sys.flags.bytes_warning
AttributeError: 'sys.flags' object has no attribute 'bytes_warning'
Aborted

I am running Fedora Core 6, with kernel 2.6.22.7-57.fc6 on
an Intel i686 SMP box.  Python was compiled with gcc
version 4.1.2 (Redhat - 4.1.2-13). Python was built with
no additional ./configure flags .

Thanks

-- 
-Anand


More information about the Python-3000 mailing list