Ka-Ping Yee writes:
> On Wed, Mar 6, 2019 at 4:01 PM Chris Angelico wrote:
> > But adding dictionaries is fundamentally *useful*. It is expressive.
>
> It is useful. It's just that + is the wrong name.
First, let me say that I prefer ?!'s position here, so my bias is made
apparent. I'm
Ka-Ping Yee writes:
> On Wed, Mar 6, 2019 at 4:01 PM Chris Angelico wrote:
> > But adding dictionaries is fundamentally *useful*. It is expressive.
>
> It is useful. It's just that + is the wrong name.
First, let me say that I prefer ?!'s position here, so my bias is made
apparent. I'm
Now, this belongs as a separate PEP, and I probably will write one, but I
propose:
d1 << d2 makes a copy of d1 and merges d2 into it, and when the keys conflict,
d2 takes priority. (Works like copy/update.)
d1 + d2 makes a new dictionary, taking keys from d1 and d2. If d1 and d2 have a
On Fri, Mar 8, 2019 at 10:48 AM Steven D'Aprano wrote:
> > /2/ followed by /3.1.5/. No /3/ on first page, so no option to
> > influence better placement of /3/.
>
> You could click through to the second page of search results :-)
Obligatory XKCD: https://xkcd.com/1334/
It's unclear whether
On Thu, Mar 07, 2019 at 05:53:58PM -0500, Terry Reedy wrote:
> On 3/7/2019 8:56 AM, Steven D'Aprano wrote:
[...]
> >I've found that the search engines are getting better at linking to the
> >more recent docs. For example, all of these:
> >give me Python 3 first and Python 2 second.
[...]
> I
Steven D'Aprano wrote:
I've found that the search engines are getting better at linking to the
more recent docs.
Likely this is simply due to the fact that Python 3 is being
used more than it was, so more of its doc pages are getting linked
to. If that's true, then thing should continue to
On 3/7/2019 8:56 AM, Steven D'Aprano wrote:
On Thu, Mar 07, 2019 at 08:10:20AM -0500, James Lu wrote:
Rationale: When I use a search engine to google a Python question, I
frequently get a link to a page of the Python 2.7 documentation that
shows before the Python 3 documentation link.
This is
The way search engines works is “the more it’s clicked, the higher it is”
In order to have python3 on top of the results, just hit the Python3 result :)
___
Python-ideas mailing list
Python-ideas@python.org
On Wed, Mar 6, 2019 at 4:01 PM Chris Angelico wrote:
> On Thu, Mar 7, 2019 at 10:52 AM Josh Rosenberg
> wrote:
> >
> > Allowing dicts to get involved in + means:
>
> Lots of words that basically say: Stuff wouldn't be perfectly pure.
>
> But adding dictionaries is fundamentally *useful*. It is
On Thu, Mar 07, 2019 at 08:10:20AM -0500, James Lu wrote:
> Rationale: When I use a search engine to google a Python question, I
> frequently get a link to a page of the Python 2.7 documentation that
> shows before the Python 3 documentation link.
>
> This is annoying and slows down my
On Thu, Mar 7, 2019 at 9:10 AM James Lu wrote:
> Rationale: When I use a search engine to google a Python question, I
> frequently get a link to a page of the Python 2.7 documentation that shows
> before the Python 3 documentation link.
>
There exists browser extensions that do this:
Rationale: When I use a search engine to google a Python question, I frequently
get a link to a page of the Python 2.7 documentation that shows before the
Python 3 documentation link.
This is annoying and slows down my programming.
I propose: That we add a setting to Python’s online
12 matches
Mail list logo