Message159020
| Author |
r.david.murray |
| Recipients |
Arfrever, Hobson.Lane, Roman.Evstifeev, benjamin.peterson, cvrebert, eric.araujo, ganadist, giampaolo.rodola, pitrou, r.david.murray, rosslagerwall, vstinner |
| Date |
2012年04月23日.14:12:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335190378.05.0.111417830624.issue3177@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Launch is far better than open for this, I think. If someone can come up with an even better name, that would be good. But I would not like to use open for this function, because it does not behave like other open functions.
The one exception I know of is webbrowser. Webbrowser uses open, but the recommended way to call it is webbrowser.open(), which makes it clear you are opening it in the webbrowser (and opening the webbrowser if needed). shutil.open would convey no such connotation, to my mind. (Only windows does extension based application opening from the *shell* as far as I know.)
Perhaps 'wmopen' (for Window Manager Open)? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月23日 14:12:58 | r.david.murray | set | recipients:
+ r.david.murray, pitrou, vstinner, giampaolo.rodola, benjamin.peterson, eric.araujo, ganadist, Arfrever, cvrebert, rosslagerwall, Roman.Evstifeev, Hobson.Lane |
| 2012年04月23日 14:12:58 | r.david.murray | set | messageid: <1335190378.05.0.111417830624.issue3177@psf.upfronthosting.co.za> |
| 2012年04月23日 14:12:57 | r.david.murray | link | issue3177 messages |
| 2012年04月23日 14:12:57 | r.david.murray | create |
|