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 vstinner
Recipients Windson Yang, lemburg, serhiy.storchaka, vstinner
Date 2018-12-14.14:27:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544797651.67.0.788709270274.issue35348@psf.upfronthosting.co.za>
In-reply-to
Content
> We can also check that the output starts with executable+': ' and strip this prefix.

Technically, on UNIX, ':' is valid in a filename. Filename examples which contain ':' on my Fedora 29:

/usr/share/man/man3/List::Util.3pm.gz
/usr/share/usb_modeswitch/0408:f000
/proc/irq/127/ahci[0000:00:17.0]
/proc/irq/131/snd_hda_intel:card0
/dev/block/259:3
/sys/kernel/slab/:0002632
/sys/module/psmouse/drivers/serio:psmouse

Note: I cannot find a program name which contains ':'.
History
Date User Action Args
2018-12-14 14:27:31vstinnersetrecipients: + vstinner, lemburg, serhiy.storchaka, Windson Yang
2018-12-14 14:27:31vstinnersetmessageid: <1544797651.67.0.788709270274.issue35348@psf.upfronthosting.co.za>
2018-12-14 14:27:31vstinnerlinkissue35348 messages
2018-12-14 14:27:31vstinnercreate