Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

<sangr> home is where the highest bandwidth is


devel / comp.lang.python / Re: Neither pdb or print() displays the bug

SubjectAuthor
o Re: Neither pdb or print() displays the bugRich Shepard

1
Re: Neither pdb or print() displays the bug

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: rshep...@appl-ecosys.com (Rich Shepard)
Newsgroups: comp.lang.python
Subject: Re: Neither pdb or print() displays the bug
Date: Wed, 2 Jun 2021 05:33:14 -0700 (PDT)
Lines: 17
Message-ID: <mailman.498.1622637198.3087.python-list@python.org>
References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<20cb1a4f-ec85-9ea0-effe-b916f8be5a23@stoneleaf.us>
<alpine.LNX.2.20.2106011339300.25401@salmo.appl-ecosys.com>
<0343b334-2e10-f055-896b-b3ef9d080401@stoneleaf.us>
<alpine.LNX.2.20.2106011431130.25401@salmo.appl-ecosys.com>
<s97hfv$9b3$1@ciao.gmane.io>
<alpine.LNX.2.20.2106020531570.18951@salmo.appl-ecosys.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
X-Trace: news.uni-berlin.de MVpYtX0zg3zVilpYHQdpMAwJ05F1gYCdNvsjIaVvh/Bw==
Return-Path: <rshepard@appl-ecosys.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'gui': 0.05; 'tests': 0.05;
'debug': 0.07; 'debugging': 0.07; 'subject:bug': 0.09;
'approach.': 0.16; 'from:addr:appl-ecosys.com': 0.16;
'from:addr:rshepard': 0.16; 'from:name:rich shepard': 0.16;
'gui.': 0.16; 'message-id:@salmo.appl-ecosys.com': 0.16;
'received:50.126': 0.16; 'received:50.126.108': 0.16;
'received:50.126.108.78': 0.16; 'received:appl-ecosys.com': 0.16;
'received:mail.appl-ecosys.com': 0.16; 'subject:() ': 0.16;
'unittest': 0.16; 'well-defined': 0.16; 'wrote:': 0.16; 'to:addr
:python-list': 0.23; 'run': 0.24; 'jun': 0.27; 'else': 0.27;
"i'll": 0.28; 'header:User-Agent:1': 0.31; 'there': 0.31;
'thanks,': 0.31; 'header:In-Reply-To:1': 0.33; 'complex': 0.35;
'way': 0.37; 'those': 0.38; 'test': 0.40; 'everything': 0.64;
'unit': 0.65; 'skip:t 20': 0.67; 'tool': 0.72;
'received:localhost.localdomain': 0.77; 'received:localdomain':
0.81; 'pyqt': 0.84
In-Reply-To: <s97hfv$9b3$1@ciao.gmane.io>
User-Agent: Alpine 2.20 (LNX 67 2015-01-07)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <alpine.LNX.2.20.2106020531570.18951@salmo.appl-ecosys.com>
X-Mailman-Original-References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<20cb1a4f-ec85-9ea0-effe-b916f8be5a23@stoneleaf.us>
<alpine.LNX.2.20.2106011339300.25401@salmo.appl-ecosys.com>
<0343b334-2e10-f055-896b-b3ef9d080401@stoneleaf.us>
<alpine.LNX.2.20.2106011431130.25401@salmo.appl-ecosys.com>
<s97hfv$9b3$1@ciao.gmane.io>
 by: Rich Shepard - Wed, 2 Jun 2021 12:33 UTC

On Wed, 2 Jun 2021, Peter Otten wrote:

> Do you have unit tests? Those are an excellent tool to ensure that the
> components of an application work as expected and that those components
> have well-defined interfaces. Debugging a failing unittest is usually
> easier than to debug a complex application. While I don't know if there is
> a convenient way to test the GUI everything else should run reliably
> *before* connecting it with the GUI.

Peter,

I believe there is a way to apply unit tests to PyQt and I'll certainly
learn to take this testing-while-developing approach.

Thanks,

Rich

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor