消息 [132333]
> 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:50 | pitrou | 修改 | recipients:
+ pitrou, loewis, jafo, jaraco, ncoghlan, techtonik, tim.golden, r.david.murray, brian.curtin, asvetlov, flox |
| 2011-03-27 14:33:49 | pitrou | 链接 | issue7443 messages |
| 2011-03-27 14:33:49 | pitrou | 创建 | |
|