This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paultjuhatwork
Recipients paultjuhatwork
Date 2009-09-03.11:25:29
SpamBayes Score 9.533717e-07
Marked as misclassified No
Message-id <1251977132.94.0.194945951914.issue6833@psf.upfronthosting.co.za>
In-reply-to
Content
The attached python file will give the following output, which is 
incorrect behavior as far as I know:
"
this will fail
failed local variable 'in_std' referenced before assignment

this won't fail
Not failed
this won't fail either
Not failed
"

This is tested on windows with python2.6(standard msi) and on centos 
5.3 with python2.6 (custom rpm), python2.4 (system rpm), freebsd with 
python2.5 (system package), python2.6 ("hand" compiled) and python3.0 
("hand" compiled).

The attached code is stripped down to the bare minimum and therefore 
won't do anything usefull.
History
Date User Action Args
2009-09-03 11:25:33paultjuhatworksetrecipients: + paultjuhatwork
2009-09-03 11:25:32paultjuhatworksetmessageid: <1251977132.94.0.194945951914.issue6833@psf.upfronthosting.co.za>
2009-09-03 11:25:31paultjuhatworklinkissue6833 messages
2009-09-03 11:25:30paultjuhatworkcreate