Message159007
`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 (http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=vs.85%29.aspx ) 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:33 | cvrebert | set | recipients:
+ cvrebert, vstinner, giampaolo.rodola, benjamin.peterson, eric.araujo, ganadist, Arfrever, cool-RR, rosslagerwall, Roman.Evstifeev, Hobson.Lane |
2012-04-23 11:53:33 | cvrebert | set | messageid: <1335182013.36.0.802943288691.issue3177@psf.upfronthosting.co.za> |
2012-04-23 11:53:32 | cvrebert | link | issue3177 messages |
2012-04-23 11:53:32 | cvrebert | create | |
|