Message 305645 - Python tracker

Message305645

Author vstinner
Recipients Dee Mee, dstufft, eric.araujo, vstinner
Date 2017-11-06.15:43:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509983011.44.0.213398074469.issue31955@psf.upfronthosting.co.za>
In-reply-to
Content
> The check "if isinstance(value, str)" is incorrect, because type of value can be unicode, while it should be splitted as well.

Your pull request is for Python 3, but the type of paths is expected to be str on Python 3, no?

For Python 2, you can use isinstance(value, basestring).
History
Date User Action Args
2017-11-06 15:43:31vstinnersetrecipients: + vstinner, eric.araujo, dstufft, Dee Mee
2017-11-06 15:43:31vstinnersetmessageid: <1509983011.44.0.213398074469.issue31955@psf.upfronthosting.co.za>
2017-11-06 15:43:31vstinnerlinkissue31955 messages
2017-11-06 15:43:31vstinnercreate