Re: [Python-ideas] Adding "View Python 3 Documentation" to all Python 2 documentation URLs

2017-09-06 Thread Bar Harel
A bit radical but do you believe we can contact Google to alter the search results? It's for the benefit of the user after all, and many just switch to python 3 in the version picker anyway. On Thu, Sep 7, 2017, 4:18 AM Guido van Rossum wrote: > That's a good idea. Could you

Re: [Python-ideas] Adding "View Python 3 Documentation" to all Python 2 documentation URLs

2017-09-06 Thread Guido van Rossum
That's a good idea. Could you suggest it to https://github.com/python/pythondotorg/ ? (There is actually a version switcher on every page, but it's rather polite. :-) On Wed, Sep 6, 2017 at 3:52 PM, Ryan Gonzalez wrote: > Right now, many Google searches for Python modules

Re: [Python-ideas] Adding "View Python 3 Documentation" to all Python 2 documentation URLs

2017-09-06 Thread Victor Stinner
Another example is PyPI showing a bold "Latest version: x.x.x". Example: https://pypi.python.org/pypi/requests/2.17.0 Victor 2017-09-07 0:52 GMT+02:00 Ryan Gonzalez : > Right now, many Google searches for Python modules return the Python 2 > documentation. IMO since 2 will be

Re: [Python-ideas] PEP draft: context variables

2017-09-06 Thread francismb
Hi!, > Core concept > > > A context-local variable is represented by a single instance of > ``contextvars.Var``, say ``cvar``. Any code that has access to the ``cvar`` > object can ask for its value with respect to the current context. In the > high-level API, this value is given by