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 eryksun
Recipients SpecLad, bar.harel, bobjalex, eryksun, paul.moore, r.david.murray, steve.dower, tim.golden, tobytobkin, vstinner, zach.ware
Date 2021-03-20.02:06:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616205992.7.0.0561656265963.issue24505@roundup.psfhosted.org>
In-reply-to
Content
Regarding Toby's patch:

Probably _is_windows_nt_internal_command() isn't needed or desired. It's more of a command-line parsing issue, rather than a file-search issue. For example, CMD will search for an internal name if it's quoted in double quotes in the command line, such as `"dir" spam`, and where.exe doesn't reserve the names of CMD's internal functions. If it's kept, note that the following four names are missing from the nt_internal_commands list: 'BREAK', 'MKLINK', 'VERIFY', 'VOL'.

The patch also makes a couple incorrect assumptions, corrected as follows:

    * A filename with an extension will be found and executed 
      even if the extension is not in PATHEXT.
    * The PATHEXT extensions are tried even if a name already
      has an extension.
History
Date User Action Args
2021-03-20 02:06:32eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, r.david.murray, zach.ware, SpecLad, steve.dower, bobjalex, bar.harel, tobytobkin
2021-03-20 02:06:32eryksunsetmessageid: <1616205992.7.0.0561656265963.issue24505@roundup.psfhosted.org>
2021-03-20 02:06:32eryksunlinkissue24505 messages
2021-03-20 02:06:31eryksuncreate