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 Antony.Lee
Recipients Antony.Lee, ethan.furman, r.david.murray
Date 2016-05-31.06:35:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464676550.76.0.531878376267.issue27161@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, a simpler approach may be the attached patch (pathlib-splitroot.patch), in which case the exception is

    AttributeError: 'dict' object has no attribute 'lstrip'

which is pretty commonly seen when a wrong type is passed to a function.

(Note that it is already possible to trigger this exception by passing in `{0: "/"}` so it's no worse than before)
History
Date User Action Args
2016-05-31 06:35:50Antony.Leesetrecipients: + Antony.Lee, r.david.murray, ethan.furman
2016-05-31 06:35:50Antony.Leesetmessageid: <1464676550.76.0.531878376267.issue27161@psf.upfronthosting.co.za>
2016-05-31 06:35:50Antony.Leelinkissue27161 messages
2016-05-31 06:35:50Antony.Leecreate