[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +9063 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Michael Felt added the comment: On 10/2/2018 7:36 PM, Michael Felt wrote: > Python is designed as a thin wrapper to the operating system. IMHO Python > must not validate the filename itself. To shorten the discussion, I'll kill the current PR and just modify the test to skip the trailing

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Michael Felt added the comment: Was not my intent. Firewall issues. After 4 more attempts gave up until now. On 10/2/2018 3:17 PM, STINNER Victor wrote: > STINNER Victor added the comment: > >> 2018-10-02 11:02:32 Michael.Feltset files: + mime-attachment, >> encrypted.asc > You

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Michael Felt added the comment: On 10/2/2018 10:36 AM, STINNER Victor wrote: > STINNER Victor added the comment: > > Jeremy Kloth: "This is also an issue on Windows when the target path resides > within a junction, paths outside of a junction respond (err, fail) as > expected." >

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Michael Felt added the comment: Final attempt to send as plain text On 10/2/2018 1:07 AM, Benjamin Peterson wrote: > On Mon, Oct 1, 2018, at 12:12, Michael Felt wrote: >> Hi all, >> >> Before I submit a patch to increase the default MAXDATA setting for AIX >> when in 32-bit mode - I want to

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread STINNER Victor
STINNER Victor added the comment: > 2018-10-02 11:02:32 Michael.Feltset files: + mime-attachment, > encrypted.asc You replied with an encrypted message which isn't understood by the bug tracker. -- ___ Python tracker

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread Michael Felt
Change by Michael Felt : Added file: https://bugs.python.org/file47840/mime-attachment Added file: https://bugs.python.org/file47841/encrypted.asc ___ Python tracker ___

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-10-02 Thread STINNER Victor
STINNER Victor added the comment: Jeremy Kloth: "This is also an issue on Windows when the target path resides within a junction, paths outside of a junction respond (err, fail) as expected."

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-18 Thread Michael Felt
Michael Felt added the comment: On 17/09/2018 16:00, Michael Felt wrote: > And, now for the PR tests... Had a review - many thanks, but before I press the resolve button - Ihope someone can help me understand why the "Travis" etc, checks are failing, e.g., ./python -E -S -m sysconfig

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8782 stage: -> patch review ___ Python tracker ___ ___

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Michael Felt added the comment: OK - issue17324 (not 1 7 2 3 4) And, as jkloth reported that Windows also has an issue - sometimes, found a way to do this in Modules/_io/fileio.c diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index c0e43e0ae4..3623ff16ea 100644 ---

[issue34711] return ENOTDIR when open() accepts filenames with a trailing slash

2018-09-17 Thread Michael Felt
Change by Michael Felt : -- components: +IO title: Fix test_httpservers on AIX -> return ENOTDIR when open() accepts filenames with a trailing slash ___ Python tracker ___