New submission from Eugene Bright: Hello!
I found strange os.path.join() behavior on Windows. It works fine in common case. >>> os.path.join("C", "filename") 'C\\filename' But if first argument is "C:" there are no backslashes added at all! >>> os.path.join("C:", "filename") 'C:filename' But I expect two inserted backslashes... >>> sys.version '3.4.1 |Anaconda 2.1.0 (64-bit)| (default, Sep 24 2014, 18:32:42) [MSC v.1600 64 bit (AMD64)]' Is there a bug? Thanks! ---------- messages: 236739 nosy: Eugene Bright priority: normal severity: normal status: open title: os.path.join() wrong concatenation of "C:" on Windows _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23535> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com