Message300966
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? |
|
Date |
User |
Action |
Args |
2017-08-28 20:58:15 | Oren Milman | set | recipients:
+ Oren Milman, twouters, brett.cannon |
2017-08-28 20:58:15 | Oren Milman | set | messageid: <1503953895.86.0.688836581995.issue31291@psf.upfronthosting.co.za> |
2017-08-28 20:58:15 | Oren Milman | link | issue31291 messages |
2017-08-28 20:58:15 | Oren Milman | create | |
|