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 parsampsh
Recipients parsampsh, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-14.12:54:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615726479.05.0.699625181333.issue43491@roundup.psfhosted.org>
In-reply-to
Content
I was testing my program in github workflow and i detected a bug. i was opening a file in windows:

```
f = open(os.path.dirname(__FILE__) + '/some/file.txt')
```

means the file path will be `C:\some\path/some/file.txt`.

but i received OSError. why? because in the above path, we have both `/` and `\`.

I think this bug should be fixed by converting all of `/`s to `\` in file paths automatic.
History
Date User Action Args
2021-03-14 12:54:39parsampshsetrecipients: + parsampsh, paul.moore, tim.golden, zach.ware, steve.dower
2021-03-14 12:54:39parsampshsetmessageid: <1615726479.05.0.699625181333.issue43491@roundup.psfhosted.org>
2021-03-14 12:54:39parsampshlinkissue43491 messages
2021-03-14 12:54:38parsampshcreate