[issue7566] Add ntpath.sameopenfile support for Windows

2010-09-06 Thread Brian Curtin
Brian Curtin added the comment: Added in r84561. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue7566] Add ntpath.sameopenfile support for Windows

2010-07-23 Thread Brian Curtin
Brian Curtin 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, a

[issue7566] Add ntpath.sameopenfile support for Windows

2010-06-27 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin nosy: +brian.curtin stage: -> needs patch ___ Python tracker ___ ___ Python-bu

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-29 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-23 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-23 Thread Jason R. Coombs
Jason R. Coombs 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 ___

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-22 Thread Martin v . Löwis
Martin v. Löwis 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 tracker

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-22 Thread Jason R. Coombs
New submission from Jason R. Coombs : 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 do: while GetFina