Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

linux: because a PC is a terrible thing to waste (ksh@cis.ufl.edu put this on Tshirts in '93)


devel / comp.lang.python / Re: [docs] Reporting a Bug

SubjectAuthor
o Re: [docs] Reporting a Buganthony.flury

1
Re: [docs] Reporting a Bug

<mailman.382.1652346407.20749.python-list@python.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=18240&group=comp.lang.python#18240

 copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: anthony....@btinternet.com (anthony.flury)
Newsgroups: comp.lang.python
Subject: Re: [docs] Reporting a Bug
Date: Sat, 7 May 2022 09:21:43 +0100 (BST)
Lines: 61
Message-ID: <mailman.382.1652346407.20749.python-list@python.org>
References: <CAJ-AdUOgnq1XEtbjw0FNK6RmtqjF=XLu9kYEJYK0ZjH2t8Wo_A@mail.gmail.com>
<4eaf116d.69ad.1809d9c3a42.Webtop.90@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de jH7rickmuB49XQTeQIlUbwY1Mvj0Q89vtUF8jSAuTygg==
Return-Path: <anthony.flury@btinternet.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=btinternet.com header.i=@btinternet.com header.b=EOchtOZm;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.108
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'argument': 0.04;
'&gt;&gt;&gt;': 0.07; 'string': 0.07; 'cc:addr:python-list': 0.09;
'reporting': 0.09; 'skip:x 10': 0.09; 'subject:Bug': 0.09; 'cc:no
real name:2**0': 0.14; "'e'": 0.16; 'expected.': 0.16; 'removed.':
0.16; 'removes': 0.16; 'shell:': 0.16; 'python': 0.16; 'bug':
0.19; 'cc:addr:python.org': 0.20; 'issue': 0.21; 'subject:: [':
0.21; 'subject:] ': 0.21; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'cc:2**0': 0.25; 'url-ip:188.166/16':
0.25; 'url:lists': 0.26; 'wednesday,': 0.26; 'else': 0.27; '>>>':
0.28; 'header:User-Agent:1': 0.30; 'skip:_ 40': 0.31; 'url-
ip:188/8': 0.31; "doesn't": 0.32; 'url:mailman3': 0.32; 'but':
0.32; 'mailing': 0.33; 'there': 0.33; 'header:In-Reply-To:1':
0.34; '"the': 0.35; 'meaning': 0.35; 'member': 0.37; 'list': 0.39;
'received:213': 0.40; 'both': 0.40; 'method': 0.61; 'from:': 0.62;
'to:': 0.62; 'email': 0.63; 'send': 0.63; 'look': 0.65;
'address:': 0.67; 'to:addr:docs': 0.68; 'exactly': 0.68; 'cc:':
0.69; 'skip:x 30': 0.69; 'front': 0.70; 'unsubscribe': 0.72;
'url:dtd': 0.74; 'url:xhtml': 0.74; 'url:1999': 0.75; 'skip:y 10':
0.76; '------': 0.76; 'advise': 0.78; 'sent:': 0.78; 'url:xhtml1':
0.83; 'anthony': 0.84; 'characters': 0.84; 'sincerely': 0.88;
'url:xhtml1-strict': 0.91; 'yours.': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1651911703;
bh=PKzSH8+RmiVtyspeZs112p06DZpPQr+Cz1DU/29Q1Ps=;
h=To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:From:Date;
b=EOchtOZm4CxQBzGkaBB4L3WhfdoGMV0IfN3F6ovVLlIj8OoB6lP/kjA27NIeCYIdm90i/mX7psDe5lyBx9UHRaUDZsuzRT+7BGvqVzKKzrFZR7WidB7s9a6cOx2gI4Y7u5dxcZlfKGYhfLBCS7YbdiM1xyPHOVYHGayWNSHp3yl+8I/kfxe24z5GCoTOfE/PzG6AB/Im5oESc4uG7uvCkoRSr591ilD1t3g2vpiAX+emfTwunHBz4S4rXHtpvnOMywrfyEiVT084pIPXI0xPgy0kXcCoUh6P0LUbdwRIvUFfqGJ+O4UyF5QWpe7WK/c4x+GxCA1YXJ3anKsoloS5DQ==
Authentication-Results: btinternet.com; none
X-SNCR-Rigid: 613A8CC3220C92D6
X-OWM-Env-Sender: anthony.flury@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehgddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefvvefkjghfufggtggfihfhffesrgdtregstderjeenucfhrhhomhepfdgrnhhthhhonhihrdhflhhurhihfdcuoegrnhhthhhonhihrdhflhhurhihsegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepleejjeelgeeljeehudevkeettdduueejieehteeilefhleelgeehffffvefgudfgnecuffhomhgrihhnpehphihthhhonhdrohhrghenucfkphepuddtrddvrdehgedrledtpdekuddrudehfedrudeggedrledunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprhgvqdhprhguqdhugihfvghpqddttdelrdgsthhmgidqphhrugdrshihnhgthhhrohhnohhsshdrnhgvthdpihhnvghtpedutddrvddrheegrdeltddpmhgrihhlfhhrohhmpegrnhhthhhonhihrdhflhhurhihsegsthhinhhtvghrnhgvthdrtghomhdpnhgspghrtghpthhtohepfedprhgtphhtthhopeguohgtshesphihthhhohhnrdhorhhgpdhrtghpthhtohepihhnfhhojhhmrghilhesghhmrghilhdrtghomhdprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrgh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
In-Reply-To: <CAJ-AdUOgnq1XEtbjw0FNK6RmtqjF=XLu9kYEJYK0ZjH2t8Wo_A@mail.gmail.com>
User-Agent: OWM Mail 3
X-SID: 90
X-Originating-IP: [81.153.144.91]
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <4eaf116d.69ad.1809d9c3a42.Webtop.90@btinternet.com>
X-Mailman-Original-References: <CAJ-AdUOgnq1XEtbjw0FNK6RmtqjF=XLu9kYEJYK0ZjH2t8Wo_A@mail.gmail.com>
 by: anthony.flury - Sat, 7 May 2022 08:21 UTC

This is exactly as expected.

Strip removes any of the characters in the passed string from both the
front and the end of the string being stripped.

The letter 'T' from the start of 'The meaning of life' does not appear
in the word 'meaning' so nothing is removed from the start of the
string.

The letter 'e' from the end of 'The meaning of life' does appear in the
word 'meaning' so it is removed from the sentence; it will then look at
the next last letter 'f', but since this doesn't appear in the word
'meaning' nothing else is removed and the new string is returned.

The argument passed to strip(..) method is the set of characters to be
removed - so any characters in that set are removed from the start and
end of the string.

------ Original Message ------
From: "Jeff Jeffi" <infojmail@gmail.com>
To: docs@python.org
Cc: python-list@python.org
Sent: Wednesday, 4 May, 22 At 10:36
Subject: [docs] Reporting a Bug

Hello dears,

First of all i am not sure about this issue please advise me if
there is any mistake in my report.

for example in python 3.6.3 shell:

>>> x= "The meaning of life" x.strip("meaning")
'The meaning of lif'

As you see the letter "e" of the word "life" is removed.

Sincerely yours.
J.Mohammadi

_______________________________________________
docs mailing list -- docs@python.org
To unsubscribe send an email to docs-leave@python.org
https://mail.python.org/mailman3/lists/docs.python.org/
<https://mail.python.org/mailman3/lists/docs.python.org/>
Member address: anthony.flury@btinternet.com

-- <br>Anthony Flury<br>anthony.flury@btinternet.com

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor