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.

作者 pitrou
收信人 asvetlov, brian.curtin, flox, jafo, jaraco, loewis, ncoghlan, pitrou, r.david.murray, techtonik, tim.golden
日期 2011-03-27.14:33:49
SpamBayes Score 0.00297438
Marked as misclassified
Message-id <1301236426.3568.9.camel@localhost.localdomain>
In-reply-to <4D8F4858.1020001@timgolden.me.uk>
内容
> 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?
历史
日期 用户 动作 参数
2011-03-27 14:33:50pitrou修改recipients: + pitrou, loewis, jafo, jaraco, ncoghlan, techtonik, tim.golden, r.david.murray, brian.curtin, asvetlov, flox
2011-03-27 14:33:49pitrou链接issue7443 messages
2011-03-27 14:33:49pitrou创建