This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek
Date 2014-12-18.13:46:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418910419.51.0.75475140069.issue23082@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, here is another (less) confusing error message:

    >>> Path("foo").relative_to("fo")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/pathlib.py", line 806, in relative_to
        .format(str(self), str(formatted)))
    ValueError: 'foo' does not start with 'fo'

Without knowing that "foo" is a path, the message seems wrong.  If it said something like "Path 'foo' does not start with part 'fo'", it would be clearer.
History
Date User Action Args
2014-12-18 13:46:59chris.jerdoneksetrecipients: + chris.jerdonek
2014-12-18 13:46:59chris.jerdoneksetmessageid: <1418910419.51.0.75475140069.issue23082@psf.upfronthosting.co.za>
2014-12-18 13:46:59chris.jerdoneklinkissue23082 messages
2014-12-18 13:46:59chris.jerdonekcreate