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 asvetlov, brian.curtin, flox, jafo, jaraco, loewis, ncoghlan, pitrou, r.david.murray, techtonik, tim.golden
Date 2011-03-27.14:33:49
SpamBayes Score 0.00297438
Marked as misclassified No
Message-id <1301236426.3568.9.camel@localhost.localdomain>
In-reply-to <4D8F4858.1020001@timgolden.me.uk>
Content
> I did start to undertake a conversion of TESTFN to a named temporary,
> but it started to sprawl all over the place and came up against a
> number of corner cases (eg where tests deliberately wanted two
> filenames to be the same) so I gave up.

How about renaming to a unique random name just before the unlink(), as
Mercurial does?
Would it alleviate the problem or am I missing something?
History
Date User Action Args
2011-03-27 14:33:50pitrousetrecipients: + pitrou, loewis, jafo, jaraco, ncoghlan, techtonik, tim.golden, r.david.murray, brian.curtin, asvetlov, flox
2011-03-27 14:33:49pitroulinkissue7443 messages
2011-03-27 14:33:49pitroucreate