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 brett.cannon, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-07-06.19:21:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530904887.2.0.56676864532.issue34062@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think the launcher has unit tests.

The if statement in process() that calls show_python_list only checks for "-0". It needs to check for the long names as well, e.g.:

    if (argc == 2) {
        /* First check for -0[p], --list, or --list-paths. */
        if (!wcsncmp(p, L"-0", 2) || !wcscmp(p, L"--list") ||
            !wcscmp(p, L"--list-paths")) {
            valid = show_python_list(argv);
        }
    }

show_python_list shouldn't need to be modified. It already looks for -0p and --list-paths to include paths in the output format.
History
Date User Action Args
2018-07-06 19:21:27eryksunsetrecipients: + eryksun, brett.cannon, paul.moore, tim.golden, zach.ware, steve.dower
2018-07-06 19:21:27eryksunsetmessageid: <1530904887.2.0.56676864532.issue34062@psf.upfronthosting.co.za>
2018-07-06 19:21:27eryksunlinkissue34062 messages
2018-07-06 19:21:27eryksuncreate