[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows
New submission from song super <2262720...@qq.com>: python3.6 from os.path import join join('3', '{:3') return '{:3' in windows,However,join('3', '{:3') return '3//{:3' in linux,I think this is a bug -- components: Windows files: python bug.zip hgrepos: 391 messages: 375524 nosy: 2262720766, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: from os.path import join join('3', '{:3') return '{:3' in windows type: compile error versions: Python 3.6 Added file: https://bugs.python.org/file49400/python bug.zip ___ Python tracker <https://bugs.python.org/issue41565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows
song super <2262720...@qq.com> added the comment: I mean,os.path.join('3', '{:3') return '{:3' in windows,However,os.path.join('3', '{:3') return '3/{:3'in linux,output result not '3'in windows,why? for example: >>> from os.path import join >>> join('3', '{:3') output:'{:3' >>> join('3', '{3') output:'3\\{3' I think 'join('3', '{:3') ' output '3\\{:3' in windows -- nosy: +2262720766 ___ Python tracker <https://bugs.python.org/issue41565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41565] from os.path import join join('3', '{:3') return '{:3' in windows
song super <2262720...@qq.com> added the comment: Think you very much,I am a college student, do not understand these underlying principles, this problem is I wrote a program on Linux, later moved to the windows system found, thank you very much for your answers -- nosy: +2262720766 status: closed -> open ___ Python tracker <https://bugs.python.org/issue41565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com