[issue12967] AttributeError distutils\log.py

ben report at bugs.python.org
Fri Sep 16 09:45:56 CEST 2011


ben <thelen_ben at yahoo.com> added the comment:

Hi Eric,
 
I'm not suggesting that python does not test the applications. just reporting what I experience.
The python version installed is r32:88445
 
What I did, I opened the setup file (in IDLE) from the distribute 0.6.21 and run this.
 
On my python 3.2 version (clean without extentions). when I type in (on the command line)
 
>>>import sys
>>>sys.stdout.error
'strict'
 
However on the IDLE when I do the same.
a AttributeError is being raised.
 
Not sure why the difference between the two (I thought these were the same).
 
Ben

From: Éric Araujo <report at bugs.python.org>
To: thelen_ben at yahoo.com
Sent: Thursday, 15 September 2011 10:54 PM
Subject: [issue12967] AttributeError distutils\log.py

Éric Araujo <merwok at netwok.org> added the comment:

How?  Please tell exactly what command you ran with what Python version.

It does, in 3.x.  Do you think Python has no tests or no users? :)

----------
assignee: tarek -> eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12967>
_______________________________________

----------
Added file: http://bugs.python.org/file23170/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12967>
_______________________________________
-------------- next part --------------
<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Hi Eric,</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">I'm not suggesting that python does not test the applications. just reporting what I experience.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">The python version installed is r32:88445</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">What I did, I opened the setup file (in IDLE) from the distribute 0.6.21 and run this.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">On my python 3.2 version (clean without extentions). when I type in (on the command line)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">&gt;&gt;&gt;import sys</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">&gt;&gt;&gt;sys.stdout.error</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">'strict'</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">However on the IDLE when I do the same.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">a AttributeError is being raised.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Not sure why the difference between the two (I thought these were the same).</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN>&nbsp;</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Ben<VAR id=yui-ie-cursor></VAR></SPAN></div>
<div><BR></div>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> ��ric Araujo &lt;report at bugs.python.org&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> thelen_ben at yahoo.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, 15 September 2011 10:54 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [issue12967] AttributeError distutils\log.py<BR></FONT><BR><BR>��ric Araujo &lt;<A href="mailto:merwok at netwok.org" ymailto="mailto:merwok at netwok.org">merwok at netwok.org</A>&gt; added the comment:<BR><BR>&gt; when installing the distribute package<BR>How?&nbsp; Please tell exactly what command you ran with what Python
 version.<BR><BR>&gt; it could be raised on any other usage as sys.stdout does not have<BR>&gt; an 'error' attribute.<BR>It does, in 3.x.&nbsp; Do you think Python has no tests or no users? :)<BR><BR>----------<BR>assignee: tarek -&gt; eric.araujo<BR><BR>_______________________________________<BR>Python tracker &lt;<A href="mailto:report at bugs.python.org" ymailto="mailto:report at bugs.python.org">report at bugs.python.org</A>&gt;<BR>&lt;<A href="http://bugs.python.org/issue12967" target=_blank>http://bugs.python.org/issue12967</A>&gt;<BR>_______________________________________<BR><BR><BR></DIV></DIV></div></body></html>


More information about the Python-bugs-list mailing list