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 cvrebert
Recipients Arfrever, Hobson.Lane, Roman.Evstifeev, benjamin.peterson, cool-RR, cvrebert, eric.araujo, ganadist, giampaolo.rodola, rosslagerwall, vstinner
Date 2012-04-23.11:53:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
`operation` seems questionable. IMO, the verbs seem stronger / more important than mere optional suggestions (particularly "open" vs. "edit" for files with read-only viewers), and only Windows supports them (so anyone requiring that feature might as well just use startfile() directly). By virtue of this function being cross-platform, we're kinda limited to just supporting the lowest common denominator.

Hobs, can you explain `gui`?

Also, does startfile() raise exceptions for either of the basic error conditions ("no such file" and "no associated application")? If not, I believe using the lower-level ShellExecute ( ) or similar Windows API function would allow us to report such errors, as the other platform implementations currently do.
Date User Action Args
2012-04-23 11:53:33cvrebertsetrecipients: + cvrebert, vstinner, giampaolo.rodola, benjamin.peterson, eric.araujo, ganadist, Arfrever, cool-RR, rosslagerwall, Roman.Evstifeev, Hobson.Lane
2012-04-23 11:53:33cvrebertsetmessageid: <>
2012-04-23 11:53:32cvrebertlinkissue3177 messages
2012-04-23 11:53:32cvrebertcreate