[Python-ideas] Have os.unlink remove junction points on Windows

Nick Coghlan ncoghlan at gmail.com
Wed Sep 25 14:04:50 CEST 2013


On 25 Sep 2013 21:51, "Oscar Benjamin" <oscar.j.benjamin at gmail.com> wrote:
>
> On 25 September 2013 12:01, Kim Gräsman <kim.grasman at gmail.com> wrote:
> > Hi Oscar,
> >
> > On Wed, Sep 25, 2013 at 12:06 PM, Oscar Benjamin
> > <oscar.j.benjamin at gmail.com> wrote:
> >>
> >> Since no one has responded to this for some time I would estimate that
> >> not many people particularly dislike your idea. So feel free to open
> >> an issue about it on the tracker (after checking that there isn't
> >> already an open issue and that your problem is not already solved in
> >> the most recent release):
> >> http://bugs.python.org/
> >>
> >> On the other hand evidently not many people are very enthusiastic
> >> about this idea so it's possible that the tracker issue will not go
> >> anywhere unless you write the patch yourself.
> >
> > Thanks for responding!
> >
> > I opened an issue before posting here: http://bugs.python.org/issue18314
>
> Sorry, I've just looked back over this thread and I see that now.
>
> >
> > I'd be happy to provide a patch, but I only want to put time into it
> > if there's a reasonable chance it gets committed. That's why I wanted
> > to hear if there were any objections, so I don't end up writing,
> > testing and posting a patch only to end up in quibbles around the
> > general idea.
> >
> > I'm new to Python development; would a concrete patch help move this
forward?
>
> It doesn't look like anyone else will write a patch so I don't think
> much will happen if you don't either. I don't know anything about
> junction points though so I have no idea how likely it is that a patch
> would be accepted.

My recollection is that permissions around junction points are a little
weird at the Windows OS level (so the access denied might be genuine for a
regular user account), but if a patch can make os.unlink handle them more
like *nix symlinks, that sounds reasonable to me.

Cheers,
Nick.

>
>
> Oscar
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130925/96f25306/attachment.html>


More information about the Python-ideas mailing list