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 erob
Recipients amaury.forgeotdarc, barry, eric.araujo, erob, flox, ggenellina, giampaolo.rodola, gvanrossum, oopos, pebbe, quentel, r.david.murray, tcourbon, tercero12, tobias, v+python
Date 2011-01-03.10:44:45
SpamBayes Score 5.7188794e-07
Marked as misclassified No
Message-id <4D21AB4F.4020904@gthcfoundation.org>
In-reply-to <1294026620.76.0.999276764714.issue4953@psf.upfronthosting.co.za>
Content
i'm thinking this issue is also well connected to:

http://bugs.python.org/issue1573931

so a backport of whatever solution comes to 3.2 would be a great
addition to Python 2.6 as the very minimum, in order to satisfy
minimal backward compatibility!

Thanks,

On 02/01/11 10:50 PM, Glenn Linderman wrote:
> Glenn Linderman <v+python@g.nevcal.com> added the comment:
>
> Rereading the doc link I pointed at, I guess detach() is part of the new API since 3.1, so doesn't need to be checked for in 3.1+ code... but instead, may need to be coded as:
>
>     try:
>         sys.stdin = sys.stdin.detach()
>     except UnsupportedOperation:
>         pass
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue4953>
> _______________________________________
>
History
Date User Action Args
2011-01-03 10:44:47erobsetrecipients: + erob, gvanrossum, barry, amaury.forgeotdarc, ggenellina, giampaolo.rodola, eric.araujo, v+python, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, pebbe, quentel
2011-01-03 10:44:46eroblinkissue4953 messages
2011-01-03 10:44:45erobcreate