[issue1742] os.path.relpath fails when path == start

2008-01-06 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r59770. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1742] os.path.relpath fails when path == start

2008-01-06 Thread Jesse Towner
New submission from Jesse Towner: os.path.relpath fails with an exception on both Windows and Unix systems (ntpath and posixpath modules) when the given path and the start path are equal. Better behavior here might be to return an empty string or perhaps os.path.curdir. >>> os.path.relpath("test

[issue1742] os.path.relpath fails when path == start

2008-01-06 Thread Jesse Towner
Changes by Jesse Towner: -- components: Library (Lib) nosy: townerj severity: major status: open title: os.path.relpath fails when path == start type: behavior versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]>