Message96822
| Author |
jaraco |
| Recipients |
jaraco |
| Date |
2009年12月23日.00:56:45 |
| SpamBayes Score |
1.0166003e-05 |
| Marked as misclassified |
No |
| Message-id |
<1261529807.86.0.672662668527.issue7566@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 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.
---
This seems entirely reasonable, but I would like to track and tackle
this as a separate issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年12月23日 00:56:49 | jaraco | set | recipients:
+ jaraco |
| 2009年12月23日 00:56:47 | jaraco | set | messageid: <1261529807.86.0.672662668527.issue7566@psf.upfronthosting.co.za> |
| 2009年12月23日 00:56:46 | jaraco | link | issue7566 messages |
| 2009年12月23日 00:56:45 | jaraco | create |
|