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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, eric.smith, rgpitts, tim.golden
Date 2010-09-10.06:49:22
SpamBayes Score 2.0539866e-05
Marked as misclassified No
Message-id <1284101365.71.0.968971414874.issue9503@psf.upfronthosting.co.za>
In-reply-to
Content
Closing as a duplicate of issue706263.

Instead of changing all print statements, you could set sys.stdout to another file, for example:
    sys.stdout=StringIO()
or another object that simply discards written data.
History
Date User Action Args
2010-09-10 06:49:25amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, eric.smith, tim.golden, rgpitts
2010-09-10 06:49:25amaury.forgeotdarcsetmessageid: <1284101365.71.0.968971414874.issue9503@psf.upfronthosting.co.za>
2010-09-10 06:49:24amaury.forgeotdarclinkissue9503 messages
2010-09-10 06:49:23amaury.forgeotdarccreate