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 Oren Milman
Recipients Oren Milman, brett.cannon, twouters
Date 2017-08-28.20:58:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503953895.86.0.688836581995.issue31291@psf.upfronthosting.co.za>
In-reply-to
Content
just checked, and indeed on my Windows 10 the original code I posted here
crashes the interpreter.

The patch in the PR undermines duck-typing, and that's why I added a comment
there, stating I wasn't sure about the patch.
an alternate solution would be to simply check whether the return value of
pathname.replace('/', '\') is a str.

do you think I would update the PR to do that?
History
Date User Action Args
2017-08-28 20:58:15Oren Milmansetrecipients: + Oren Milman, twouters, brett.cannon
2017-08-28 20:58:15Oren Milmansetmessageid: <1503953895.86.0.688836581995.issue31291@psf.upfronthosting.co.za>
2017-08-28 20:58:15Oren Milmanlinkissue31291 messages
2017-08-28 20:58:15Oren Milmancreate