This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author piro
Recipients piro
Date 2022-01-04.14:41:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641307303.08.0.831426730362.issue46256@roundup.psfhosted.org>
In-reply-to
Content
The following bug has been reported to Psycopg:

https://github.com/psycopg/psycopg/issues/198

At the end of the program, errors such as the following are dumped:

    Exception ignored in: <function PGconn.__del__ at 0x1021bbb50>
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.10/site-packages/psycopg/pq/pq_ctypes.py", line 91, in __del__
    TypeError: 'NoneType' object is not callable

Where `None` is some module-level objects, such as `os.getpid`.

Unfortunately I don't have a full repro. The error seems only happening in Python 3.10.
History
Date User Action Args
2022-01-04 14:41:43pirosetrecipients: + piro
2022-01-04 14:41:43pirosetmessageid: <1641307303.08.0.831426730362.issue46256@roundup.psfhosted.org>
2022-01-04 14:41:43pirolinkissue46256 messages
2022-01-04 14:41:42pirocreate