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 Hobson.Lane
Recipients Arfrever, Hobson.Lane, Roman.Evstifeev, benjamin.peterson, cvrebert, eric.araujo, ganadist, giampaolo.rodola, pitrou, r.david.murray, rosslagerwall, smarnach, vstinner
Date 2012-04-23.18:33:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CACZ_DoejZvXFomoEmE+_YtgTUXdyAmntfVVBA0iQLNyqfJnL2Q@mail.gmail.com>
In-reply-to <1335204577.4.0.483347930926.issue3177@psf.upfronthosting.co.za>
Content
Yea, I hosed up the path quoting in a misguided attempt at shortening for
80-col line-wrapping. Yours is better, will revert.

On Tue, Apr 24, 2012 at 2:09 AM, Chris Rebert <report@bugs.python.org>wrote:

>
> Chris Rebert <pybugs@rebertia.com> added the comment:
>
> Also:
>
> The FileNotFoundErrors quote the path twice:
>    Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
>    >>> path = "/foo/bar"
>    >>> print "Path '%s' may not exist" % repr(path)
>    Path ''/foo/bar'' may not exist
>
> The ValueError error message isn't grammatically correct and doesn't
> account for the possibility that the path is a directory (consider the case
> of a Unix system where the GUI file manager has been uninstalled;
> directories would then fail to open). May I suggest my original message?:
> "No application is associated with files/directories of the given type"
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue3177>
> _______________________________________
>
History
Date User Action Args
2012-04-23 18:33:03Hobson.Lanesetrecipients: + Hobson.Lane, pitrou, vstinner, giampaolo.rodola, benjamin.peterson, eric.araujo, ganadist, Arfrever, r.david.murray, cvrebert, rosslagerwall, smarnach, Roman.Evstifeev
2012-04-23 18:33:03Hobson.Lanelinkissue3177 messages
2012-04-23 18:33:03Hobson.Lanecreate