Brian Curtin <cur...@acm.org> added the comment:

Here's a patch implementing ntpath.sameopenfile with _getfileinformation in 
Modules/posixmodule.c.

Martin's suggestion is the best way of doing this, which was the basis for 
_getfileinformation implementation. It returns a tuple of the three relevant 
fields, and ntpath.sameopenfile compares the results of those tuples for two 
files and returns the result.

----------
keywords: +patch
Added file: http://bugs.python.org/file18162/issue7566.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to