Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Look! There! Evil!.. pure and simple, total evil from the Eighth Dimension!" -- Buckaroo Banzai


devel / comp.lang.python / Isn't TypeError built in?

SubjectAuthor
o Isn't TypeError built in?Mike Dewhirst

1
Isn't TypeError built in?

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: miked@dewhirst.com.au (Mike Dewhirst)
Newsgroups: comp.lang.python
Subject: Isn't TypeError built in?
Date: Mon, 13 Dec 2021 12:22:28 +1100
Lines: 72
Message-ID: <mailman.78.1639359010.15287.python-list@python.org>
References: <b4597886-e7f6-22f3-5605-67ed34e60c5f@dewhirst.com.au>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="------------PzGjPYxraP0iAmVFnzxJabyi"
X-Trace: news.uni-berlin.de y8isuH/HiNkxzJEGJO1O2g6vxLnEYBrT6ZESFdXf6z9w==
Return-Path: <miked@dewhirst.com.au>
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; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'def': 0.04; 'traceback':
0.04; '(most': 0.05; 'absolute': 0.05; 'content-
type:multipart/signed': 0.05; 'last):': 0.05; 'skip:\xc2 30':
0.07; 'content-type:application/pgp-signature': 0.09; 'line:':
0.09; 'obviously': 0.09; 'restart': 0.09; 'skip:\xc2 20': 0.09;
'ubuntu': 0.09; 'log': 0.12; 'import': 0.15; 'decrypt': 0.16;
'elsewhere': 0.16; 'from:addr:dewhirst.com.au': 0.16;
'from:addr:miked': 0.16; 'from:name:mike dewhirst': 0.16; 'hints':
0.16; 'ignored': 0.16; 'interpreter': 0.16; 'key.': 0.16;
'phishing.': 0.16; 'received:webmastery.com.au': 0.16; 'sigusr1':
0.16; 'to:addr:python-list': 0.20; 'exception': 0.22; 'skip:_ 10':
0.22; 'command': 0.23; 'wrong': 0.28; 'error': 0.29; 'header:User-
Agent:1': 0.30; 'dec': 0.31; 'module': 0.31; 'but': 0.32; "i'm":
0.33; "i'll": 0.33; 'received:192.168.0': 0.33; 'received:au':
0.35; "skip:' 10": 0.37; 'received:192.168': 0.37; 'file': 0.38;
'thanks': 0.38; 'handle': 0.39; 'something': 0.40; 'skip:o 10':
0.61; 'me.': 0.62; 'skip:\xc2 10': 0.62; 'email': 0.63; 'send':
0.63; 'public': 0.63; 'pass': 0.64; 'key': 0.64; 'down': 0.64;
'in:': 0.64; 'your': 0.64; 'came': 0.65; 'content-
type:multipart/mixed': 0.68; 'operations': 0.68; 'below': 0.69;
'8bit%:38': 0.70; 'you.': 0.71; 'private': 0.73; '8bit%:100':
0.76; 'signature': 0.76; 'skip:" 50': 0.84; 'received:103': 0.91
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.0
Content-Language: en-US
X-PPP-Message-ID: <20211213012233.3627.11673@plesk01.e1.webmastery.com.au>
X-PPP-Vhost: chemintro.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.38
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.38
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: <b4597886-e7f6-22f3-5605-67ed34e60c5f@dewhirst.com.au>
 by: Mike Dewhirst - Mon, 13 Dec 2021 01:22 UTC
Attachments: "OpenPGP_signature" (application/pgp-signature)

Obviously something is wrong elsewhere but I'm not sure where to look.
Ubuntu 20.04 with plenty of RAM.
    def __del__(self):
        try:
            for context_obj in self._context_refs:
                try:
                    delattr(context_obj, self._attr_name)
                except AttributeError:
                    pass
        except TypeError:        # THIS IS LINE 96 IN THE APACHE2 ERROR
LOG BELOW
            # WeakSet.__iter__ can crash when interpreter is shutting
down due
            # to _IterationGuard being None.
            pass
[Mon Dec 13 01:15:49.875993 2021] [mpm_event:notice] [pid 1033:tid
140446449658944] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Dec 13 01:15:49.878443 2021] [so:warn] [pid 1033] AH01574: module
dav_module is already loaded, skipping
[Mon Dec 13 01:15:49.885659 2021] [mpm_event:notice] [pid 1033:tid
140446449658944] AH00489: Apache/2.4.41 (Ubuntu) SVN/1.13.0
OpenSSL/1.1.1f mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal
operations
[Mon Dec 13 01:15:49.885664 2021] [core:notice] [pid 1033:tid
140446449658944] AH00094: Command line: '/usr/sbin/apache2'
Exception ignored in: <function Local.__del__ at 0x7fbc380964c0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/asgiref/local.py", line
96, in __del__
NameError: name 'TypeError' is not defined
Exception ignored in: <function Local.__del__ at 0x7fbc380964c0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/asgiref/local.py", line
96, in __del__
NameError: name 'TypeError' is not defined
Any hints welcome ...
Thanks
Mike
--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

Attachments: "OpenPGP_signature" (application/pgp-signature)

devel / comp.lang.python / Isn't TypeError built in?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor