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 desbma
Recipients desbma, serhiy.storchaka, vstinner
Date 2017-05-11.18:42:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494528157.05.0.621958052001.issue30219@psf.upfronthosting.co.za>
In-reply-to
Content
> For example, thanks to stdout/stderr, you noticed the warning. Without stdout/stderr, the warning should be hidden.

That is true, but as a Python user, it don't need to see that warning, only the xdg-utils developers do.
I would have never seen it, and it would never have been a problem because xdg-util would have been updated to call gio open (with the commit mentioned above) long before gvfs-open is completely removed.

> Do you get the warning if you use gvfs-open?

Of course, because gvfs-open is precisely the cause of the deprecation warning

$ cat /usr/bin/gvfs-open
#!/bin/sh

replacement="gio open"
help="gio help open"

>&2 echo "This tool has been deprecated, use '$replacement' instead."
>&2 echo "See '$help' for more info."
>&2 echo

if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
  exec $help "$@:2"
else
  exec $replacement "$@"
fi
History
Date User Action Args
2017-05-11 18:42:37desbmasetrecipients: + desbma, vstinner, serhiy.storchaka
2017-05-11 18:42:37desbmasetmessageid: <1494528157.05.0.621958052001.issue30219@psf.upfronthosting.co.za>
2017-05-11 18:42:37desbmalinkissue30219 messages
2017-05-11 18:42:37desbmacreate