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 zach.ware
Recipients Arfrever, Ramchandra Apte, asvetlov, christian.heimes, gpolo, mark.dickinson, pitrou, skrah, terry.reedy, zach.ware
Date 2012-11-09.21:48:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352497697.64.0.227057398317.issue16248@psf.upfronthosting.co.za>
In-reply-to
Content
Here are a pair of trivial patches that implement Antoine's suggestion of not executing readprofile() if the -E flag is set.  Current tests seem to pass, but there are no new tests included because frankly I'm not sure of either how to test it or where.  Also, I can't seem to find any tests of the -E flag at all; does this change need a test?  No doc change either since the function isn't documented.

The patches apply equally well on 2.6 or 2.7, or 3.1 or 3.2, depending on whether this is determined to be security issue enough to mess with 2.6 and 3.1.

Thanks,

Zach
History
Date User Action Args
2012-11-09 21:48:17zach.waresetrecipients: + zach.ware, terry.reedy, mark.dickinson, pitrou, christian.heimes, gpolo, Arfrever, asvetlov, skrah, Ramchandra Apte
2012-11-09 21:48:17zach.waresetmessageid: <1352497697.64.0.227057398317.issue16248@psf.upfronthosting.co.za>
2012-11-09 21:48:17zach.warelinkissue16248 messages
2012-11-09 21:48:17zach.warecreate