A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-June/004397.html below:

[Python-Dev] CVS: python/dist/src/Objects listobject.c,2.69,2.70 and friends

[Python-Dev] CVS: python/dist/src/Objects listobject.c,2.69,2.70 and friendsMichael Hudson mwh21@cam.ac.uk
Thu, 1 Jun 2000 16:39:59 +0100 (BST)
On Thu, 1 Jun 2000, Fred L. Drake, Jr. wrote:

> 
> Skip Montanaro writes:
>  > I've seen this new error message cross my mailbox a few times.  On the face
>  > of it, it's incorrect, because you can append any sort of object to a list,
>  > right?  This message appears in the list_concat method.  Shouldn't it be
>  > something like
>  > 
>  >     can't concatenate \"%.200s\" object with list
> 
> Skip,
>   You're right!  How about:
> 
>        can only concatenate list (not \"%.200s\") to list
> 
>   If you don't object by the time this mail reaches you, I'll check it
> in.  ;)

Then you'd better do something about tupleobject.c as well; I'd also say

       can only concatenate list (not \"%.200s\") and list
       can only concatenate tuple (not \"%.200s\") and tuple

are slightly preferable, on reflection (note the s/to/and/).

Cheers,
Michael




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4