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 v+python
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.03:50:19
SpamBayes Score 0.0004989227
Marked as misclassified No
Message-id <1294026620.76.0.999276764714.issue4953@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-01-03 03:50:20v+pythonsetrecipients: + v+python, gvanrossum, barry, amaury.forgeotdarc, ggenellina, giampaolo.rodola, eric.araujo, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, pebbe, quentel, erob
2011-01-03 03:50:20v+pythonsetmessageid: <1294026620.76.0.999276764714.issue4953@psf.upfronthosting.co.za>
2011-01-03 03:50:19v+pythonlinkissue4953 messages
2011-01-03 03:50:19v+pythoncreate