Hi,

    I have been getting the following persistent error with Python 3.0
since an April 15 update of the subversion trunk (svn version 62349)

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.

[EMAIL PROTECTED] py3k]$ /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 283, in <module>
    bytes_warning = sys.flags.bytes_warning
AttributeError: 'sys.flags' object has no attribute 'bytes_warning'
Aborted

I have tried everything including removing the previous library folders
(/usr/local/lib/python-3.0), checking out the trunk fresh and building it
multiple times. Still the error is persistent. Every time I update my
svn, I have to comment out lines 280-290 in warnings.py for
Python3.0 to work.

I had posted a similar mail on April 15 titled "Trunk broken ?" but
at that time thought it was a random error.
-- 
-Anand
_______________________________________________
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