Brian Curtin cur...@acm.org added the comment:
Added in r84561.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7566
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
Changes by Brian Curtin cur...@acm.org:
--
assignee: - brian.curtin
nosy: +brian.curtin
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7566
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7566
___
___
Python-bugs-list
Jason R. Coombs jar...@jaraco.com added the comment:
That's an excellent idea. I had searched briefly for a more correct solution,
but did not find one at the time.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7566
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7566
___
___
Python-bugs-list mailing
New submission from Jason R. Coombs jar...@jaraco.com:
In issue1578269, asvetlov suggests adding an implementation of
os.sameopenfile to ntpath.py:
---
Jason, as I see you implemented os.samefile (actually ntpath.samefile)
but os.sameopenfile is still not implemented.
Looks like it's easy to
Martin v. Löwis mar...@v.loewis.de added the comment:
As NTFS supports hard links, I think GetFileInformationByHandle should
be used to compare handles (looking at dwVolumeSerialNumber,
nFileIndexHigh,nFileIndexLow)
--
nosy: +loewis
___
Python