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 eric.araujo
Recipients anthonybaxter, eric.araujo, loewis, tarek
Date 2011-10-09.08:36:58
SpamBayes Score 1.3910676e-06
Marked as misclassified No
Message-id <1318149419.16.0.666096209463.issue1109658@psf.upfronthosting.co.za>
In-reply-to
Content
[Martin]
> Looking at the code, I find it unfortunate that it uses os.path.exists,
> causing a stat call, and then does another stat call to find the time stamp.

Are you noting the inefficiency of doing two stat calls instead of one, or saying that it should make none at all in dry-run mode?  My opinion is that a dry-run mode should not create any file nor make any changes, but reading files and calling processes that give info is fair game.
History
Date User Action Args
2011-10-09 08:36:59eric.araujosetrecipients: + eric.araujo, loewis, anthonybaxter, tarek
2011-10-09 08:36:59eric.araujosetmessageid: <1318149419.16.0.666096209463.issue1109658@psf.upfronthosting.co.za>
2011-10-09 08:36:58eric.araujolinkissue1109658 messages
2011-10-09 08:36:58eric.araujocreate