[issue7443] test.support.unlink issue on Windows platform

Andrew Svetlov report at bugs.python.org
Sat Mar 26 02:25:27 CET 2011


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

As I can see cygwin's unlink_nt uses Nt* functions family (NtSetInformationFile etc) which are part of Windows DDK.

Do you like to use them or prefer SDK ones (say SetFileInformationByHandle)?

In second case python unlink can borrow deletion schema from cygwin for modern Windows versions (Vista+) and return to legacy trivial DeleteFile call if OS is WinXP.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7443>
_______________________________________


More information about the Python-bugs-list mailing list