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 pitrou
Recipients brett.cannon, neologix, pitrou, vstinner
Date 2011-10-31.16:58:04
SpamBayes Score 7.600525e-09
Marked as misclassified No
Message-id <1320080026.3382.1.camel@localhost.localdomain>
In-reply-to <1320079881.87.0.454279355141.issue13303@psf.upfronthosting.co.za>
Content
> Here's a patch using pseudo-random filenames.
> I used id(path) to generate a random name: it's faster than getpid(),
> and doesn't pollute strace's output (I'm one of strace's biggest
> fan :-).

If you go that way, you should also modify Python/import.c to use a
similar logic.
(it does sound a bit overkill to me :-))
History
Date User Action Args
2011-10-31 16:58:05pitrousetrecipients: + pitrou, brett.cannon, vstinner, neologix
2011-10-31 16:58:04pitroulinkissue13303 messages
2011-10-31 16:58:04pitroucreate