[New-bugs-announce] [issue16424] regression: os.path.split('//hostname/foo/bar.txt')

anatoly techtonik report at bugs.python.org
Wed Nov 7 07:15:33 CET 2012


New submission from anatoly techtonik:

Windows.

Python 3:
>>> import os.path as osp
>>> osp.split('//hostname/foo/')
('//hostname/foo/', '')

Python 2:
>>> osp.split('//hostname/foo/')
('//hostname/foo', '')


But Python 3 again:
>>> osp.split('//hostname/foo/bar/')
('//hostname/foo/bar', '')

----------
components: Library (Lib)
messages: 175044
nosy: techtonik
priority: normal
severity: normal
status: open
title: regression: os.path.split('//hostname/foo/bar.txt')
versions: Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16424>
_______________________________________


More information about the New-bugs-announce mailing list