[issue12967] AttributeError distutils\log.py
Éric Araujo mer...@netwok.org added the comment: I stand by my opinion that running setup.py from IDLE is not supported. -- resolution: - wont fix stage: - committed/rejected status: open - closed type: compile error - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
ben thelen_...@yahoo.com added the comment: Hi Ned, Not sure if I fully understand the IDLE issue, I'm still learning Python (abt. 6 months). Nevertheless I've installed the distributes through the command line. if you want to reassign this issue to IDLE, please do so. Best regards, Ben Thelen From: Ned Deily rep...@bugs.python.org To: thelen_...@yahoo.com Sent: Saturday, 17 September 2011 4:43 AM Subject: [issue12967] AttributeError distutils\log.py Ned Deily n...@acm.org added the comment: That won't work in IDLE because IDLE replaces the standard sys.stdout file object with a special proxy object to capture stdout across its processes and the proxy object does not currently support all of the attributes of a io.TextTIOWrapper object, like errors. idlelib.rpc.RPCProxy object at 0x1282b30 If that is the only problem, perhaps this issue should be reassigned to IDLE to support errors and any other relevant new attributes. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ -- Added file: http://bugs.python.org/file23181/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___htmlbodydiv style=color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12ptdiv style=RIGHT: autoSPAN style=RIGHT: autoHi Ned,/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoNot sure if I fully understand the IDLE issue, I'm still learning Python (abt. 6 months). Nevertheless I've installed the distributes through the command line./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoif you want to reassign this issue to IDLE, please do so./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoBest regards,VAR id=yui-ie-cursor/VAR/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoBen Thelen/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div divBR/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: 12ptFONT 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/DIVBSPAN style=FONT-WEIGHT: boldFrom:/SPAN/B Ned Deily lt;rep...@bugs.python.orggt;BRBSPAN style=FONT-WEIGHT: boldTo:/SPAN/B thelen_...@yahoo.comBRBSPAN style=FONT-WEIGHT: boldSent:/SPAN/B Saturday, 17 September 2011 4:43 AMBRBSPAN style=FONT-WEIGHT: boldSubject:/SPAN/B [issue12967] AttributeError distutils\log.pyBR/FONTBRBRNed Deily lt;A href=mailto:n...@acm.org; ymailto=mailto:n...@acm.org;n...@acm.org/Agt; added the comment:BRBRThat won't work in IDLE because IDLE replaces the standard sys.stdout file object with a special proxy object to capture stdout across its processes and the proxy object does not currently support all of the attributes of a io.TextTIOWrapper object, like errors.BRBRgt;gt;gt; sys.stdoutBRlt;idlelib.rpc.RPCProxy object at 0x1282b30gt;BRBRIf that is the only problem, perhaps this issue should be reassigned to IDLE to support errors and any other relevant new attributes.BRBR--BRnosy: +ned.deilyBRBR___BRPython tracker lt;A href=mailto:rep...@bugs.python.org; ymailto=mailto:rep...@bugs.python.org;rep...@bugs.python.org/Agt;BRlt;A href=http://bugs.python.org/issue12967; target=_blankhttp://bugs.python.org/issue12967/Agt;BR___BRBRBR/DIV/DIV/div/body/html___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23136/log.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23181/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23170/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Éric Araujo mer...@netwok.org added the comment: I'm not suggesting that python does not test the applications. just reporting what I experience. I was joking :) What I meant was: I can’t agree with the statement “it could be raised on any other usage as sys.stdout does not have an 'error' attribute” because we have tests and users that use distutils without seeing this error. What I did, I opened the setup file (in IDLE) from the distribute 0.6.21 and run this. setup.py is meant to be run from the command line only. If you try to run it from IDLE, the behavior is undefined, so I’m inclined to close this bug as invalid. (A note about this bug tracker: please do not send HTML email, it gets transformed into an unhelpful attachment, and also don’t include whole messages after your reply when you send email. Thanks in advance!) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
ben thelen_...@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 rep...@bugs.python.org To: thelen_...@yahoo.com Sent: Thursday, 15 September 2011 10:54 PM Subject: [issue12967] AttributeError distutils\log.py Éric Araujo mer...@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 rep...@bugs.python.org http://bugs.python.org/issue12967 ___ -- Added file: http://bugs.python.org/file23170/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___htmlbodydiv style=color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12ptdiv style=RIGHT: autoSPAN style=RIGHT: autoHi Eric,/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoI'm not suggesting that python does not test the applications. just reporting what I experience./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: autoThe python version installed is r32:88445/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoWhat I did, I opened the setup file (in IDLE) from the distribute 0.6.21 and run this./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoOn my python 3.2 version (clean without extentions). when I type in (on the command line)/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autogt;gt;gt;import sys/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: autogt;gt;gt;sys.stdout.error/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto'strict'/SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoHowever on the IDLE when I do the same./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: autoa AttributeError is being raised./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoNot sure why the difference between the two (I thought these were the same)./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoBenVAR id=yui-ie-cursor/VAR/SPAN/div divBR/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: 12ptFONT 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/DIVBSPAN style=FONT-WEIGHT: boldFrom:/SPAN/B Ãric Araujo lt;rep...@bugs.python.orggt;BRBSPAN style=FONT-WEIGHT: boldTo:/SPAN/B thelen_...@yahoo.comBRBSPAN style=FONT-WEIGHT: boldSent:/SPAN/B Thursday, 15 September 2011 10:54 PMBRBSPAN style=FONT-WEIGHT: boldSubject:/SPAN/B [issue12967] AttributeError distutils\log.pyBR/FONTBRBRÃric Araujo lt;A href=mailto:mer...@netwok.org; ymailto=mailto:mer...@netwok.org;mer...@netwok.org/Agt; added the comment:BRBRgt; when installing the distribute packageBRHow?nbsp; Please tell exactly what command you ran with what Python version.BRBRgt; it could be raised on any other usage as sys.stdout does not haveBRgt; an 'error' attribute.BRIt does, in 3.x.nbsp; Do you think Python has no tests or no users? :)BRBR--BRassignee: tarek -gt; eric.araujoBRBR___BRPython tracker lt;A href=mailto:rep...@bugs.python.org; ymailto=mailto:rep...@bugs.python.org;rep...@bugs.python.org/Agt;BRlt;A href=http://bugs.python.org/issue12967; target=_blankhttp://bugs.python.org/issue12967/Agt;BR___BRBRBR/DIV/DIV/div/body/html___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Ned Deily n...@acm.org added the comment: That won't work in IDLE because IDLE replaces the standard sys.stdout file object with a special proxy object to capture stdout across its processes and the proxy object does not currently support all of the attributes of a io.TextTIOWrapper object, like errors. sys.stdout idlelib.rpc.RPCProxy object at 0x1282b30 If that is the only problem, perhaps this issue should be reassigned to IDLE to support errors and any other relevant new attributes. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23147/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Éric Araujo mer...@netwok.org added the comment: when installing the distribute package How? Please tell exactly what command you ran with what Python version. it could be raised on any other usage as sys.stdout does not have an 'error' attribute. It does, in 3.x. Do you think Python has no tests or no users? :) -- assignee: tarek - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
Éric Araujo mer...@netwok.org added the comment: When will it raise an AttributeError? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
ben thelen_...@yahoo.com added the comment: Error had been raised when installing the distribute package, but it could be raised on any other usage as sys.stdout does not have an 'error' attribute. From: Éric Araujo rep...@bugs.python.org To: thelen_...@yahoo.com Sent: Tuesday, 13 September 2011 8:54 PM Subject: [issue12967] AttributeError distutils\log.py Éric Araujo mer...@netwok.org added the comment: When will it raise an AttributeError? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ -- Added file: http://bugs.python.org/file23147/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___htmlbodydiv style=color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12ptdiv style=RIGHT: autoSPAN style=RIGHT: autoErrornbsp;had beennbsp;raised when installing the distribute package, but it could be raised on any other usage as sys.stdout does not have an 'error' attribute./SPAN/div div style=RIGHT: autoSPAN style=RIGHT: auto/SPANnbsp;/div div style=RIGHT: autoSPAN style=RIGHT: autoVAR id=yui-ie-cursor/VAR/SPANnbsp;/div divBR/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: 12ptFONT 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/DIVBSPAN style=FONT-WEIGHT: boldFrom:/SPAN/B Ãric Araujo lt;rep...@bugs.python.orggt;BRBSPAN style=FONT-WEIGHT: boldTo:/SPAN/B thelen_...@yahoo.comBRBSPAN style=FONT-WEIGHT: boldSent:/SPAN/B Tuesday, 13 September 2011 8:54 PMBRBSPAN style=FONT-WEIGHT: boldSubject:/SPAN/B [issue12967] AttributeError distutils\log.pyBR/FONTBRBRÃric Araujo lt;A href=mailto:mer...@netwok.org; ymailto=mailto:mer...@netwok.org;mer...@netwok.org/Agt; added the comment:BRBRWhen will it raise an AttributeError?BRBR--BRBR___BRPython tracker lt;A href=mailto:rep...@bugs.python.org; ymailto=mailto:rep...@bugs.python.org;rep...@bugs.python.org/Agt;BRlt;A href=http://bugs.python.org/issue12967; target=_blankhttp://bugs.python.org/issue12967/Agt;BR___BRBRBR/DIV/DIV/div/body/html___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12967] AttributeError distutils\log.py
New submission from ben thelen_...@yahoo.com: AttributeErrors on log.py in the distutils directory import sys stream = sys.stdout if stream.errors == 'strict': pass'= this will raise an AttributeError' -- assignee: tarek components: Distutils files: log.py messages: 143949 nosy: Ben.thelen, eric.araujo, tarek priority: normal severity: normal status: open title: AttributeError distutils\log.py type: compile error versions: Python 3.2 Added file: http://bugs.python.org/file23136/log.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com