This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients amaury.forgeotdarc, asvetlov, eric.smith, giampaolo.rodola, jafo, jaraco, lemburg, loewis, nnorwitz, r.david.murray, swarren
Date 2009-12-06.01:34:45
SpamBayes Score 2.0664938e-06
Marked as misclassified No
Message-id <1260063287.1.0.681291338858.issue1578269@psf.upfronthosting.co.za>
In-reply-to
Content
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 GetFinalPathNameByHandle already 
accept file handle you can use CRT function _get_osfhandle(fd) to 
convert file descriptors (arguments for sameopenfile) to file handles 
and pass it to GetFinalPathNameByHandle.

For me samefile and sameopenfile has very close semantic and I like to 
see both if it's possible.

Thanks.
History
Date User Action Args
2009-12-06 01:34:47asvetlovsetrecipients: + asvetlov, lemburg, loewis, nnorwitz, jafo, amaury.forgeotdarc, jaraco, eric.smith, giampaolo.rodola, swarren, r.david.murray
2009-12-06 01:34:47asvetlovsetmessageid: <1260063287.1.0.681291338858.issue1578269@psf.upfronthosting.co.za>
2009-12-06 01:34:45asvetlovlinkissue1578269 messages
2009-12-06 01:34:45asvetlovcreate