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 phlogistonjohn
Recipients phlogistonjohn
Date 2012-04-20.15:10:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm attaching a patch of an emit function implementation that reduces the number of stats and uses fstat were we can. Using fstat should also prevent any races between opening the new file and stating the path in the file system.

Using this patch or something along these lines should avoid the time of check to time of use issues with the current version with repeated stat calls.
Date User Action Args
2012-04-20 15:10:11phlogistonjohnsetrecipients: + phlogistonjohn
2012-04-20 15:10:10phlogistonjohnsetmessageid: <>
2012-04-20 15:10:10phlogistonjohnlinkissue14632 messages
2012-04-20 15:10:10phlogistonjohncreate