commit | 183a084da3c60109f072cca734eb78fcc1cf56fc | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jan 06 14:27:15 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jan 06 14:27:15 2008 +0000 |
tree | bb3d08fb27b70a1ff52b83794bcff5c17a2a7e76 | |
parent | e2a902c66900d313704da1a0860c0c6e11fbab8a [diff] [blame] |
#1742: don't raise exception on os.path.relpath("a", "a"), but return os.curdir. Reported by Jesse Towner.
diff --git a/Misc/NEWS b/Misc/NEWS index cf54566..4732113 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -342,6 +342,9 @@ Library ------- +- Bug #1742: return os.curdir from os.path.relpath() if both arguments are + equal instead of raising an exception. + - Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'. - Patch #1698: allow '@' in username parsed by urlparse.py.