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 manlioperillo
Recipients
Date 2006-04-05.20:21:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1054957

Thanks for the detailed response.

As a joke, I have written this code at the begin of the script:

os.dup2(2, 3) # backup fd 2

os.dup2(1, 2)
os.dup2(2, 1)

os.dup2(3, 2) # restore fd 2


and it *seems* to work!
History
Date User Action Args
2007-08-23 14:39:04adminlinkissue1463104 messages
2007-08-23 14:39:04admincreate