[Python-3000] Trunk broken ?
Anand Balachandran Pillai
abpillai at gmail.com
Tue Apr 15 11:06:14 CEST 2008
Thanks. Perhaps it is a false alarm. I will test again.
Regards
On Tue, Apr 15, 2008 at 2:25 PM, Eric Smith
<eric+python-dev at trueblade.com> wrote:
>
> Anand Balachandran Pillai wrote:
>
> > 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 .
> >
>
> I don't have this problem on my 2.6.20-1.2962.fc6 box, also Intel SMP, also
> using gcc-4.1.2-13. It works with either './configure' or './configure
> --with-pydebug'.
>
> $ ./python
> Python 3.0a4+ (py3k:62349M, Apr 15 2008, 04:48:00)
> [GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.flags.bytes_warning
> 0
>
> Eric.
>
--
-Anand
More information about the Python-3000
mailing list