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 gvanrossum
Recipients brett.cannon, christian.heimes, facundobatista, georg.brandl, guillaumegirard, gvanrossum
Date 2007-11-07.16:00:30
SpamBayes Score 6.50784e-05
Marked as misclassified No
Message-id <ca471dc20711070800p64684a76r5488266aaf251d36@mail.gmail.com>
In-reply-to <4731C6BB.3010305@cheimes.de>
Content
Works for me!

On Nov 7, 2007 6:08 AM, Christian Heimes <report@bugs.python.org> wrote:
>
> Christian Heimes added the comment:
>
> Brett Cannon wrote:
> > Modules/getpath.c:joinpath() I think does what you want in C.
>
> I don't see how it is going to help us.
>
> I've a final offer before I declare the bug as SEP (someone else's problem):
>
> pseudo code
>
> #ifdef MS_WINDOWS
>     rv = stat(...)
>     if (rv == error)
>         check for *one* trailign / or \ and remove it
>         rv = stat(...)
>         if (rv == error)
>             give up
> #endif
>
> It should fix the case when somebody adds a directory with a trailing /
> or \ on Windows. More complex cases are still broken but that's really
> not my concern. ;)
>
> Christian
>
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1293>
> __________________________________
>
History
Date User Action Args
2007-11-07 16:00:31gvanrossumsetspambayes_score: 6.50784e-05 -> 6.50784e-05
recipients: + gvanrossum, brett.cannon, georg.brandl, facundobatista, christian.heimes, guillaumegirard
2007-11-07 16:00:30gvanrossumlinkissue1293 messages
2007-11-07 16:00:30gvanrossumcreate