[psycopg] #226: Various psycopg objects should participate in cyclic GC
"psycopg" <fog-NGVKUo/i/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
#226: Various psycopg objects should participate in cyclic GC
----------------------+-----------------------------------------------------
Reporter: jamesh | Owner: fog
Type: defect | Status: new
Priority: normal | Milestone:
Component: psycopg2 | Version: 2.0.6
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Various object types defined by psycopg hold references to other Python
objects. None of these types participate in cyclic GC, so if they are
involved in a cycle it can not be detected or broken.
At a minimum, these objects should implement at least the tp_traverse
cyclic GC API. We should also look at implementing tp_clear for types
where it makes sense.
--
Ticket URL: <http://www.initd.org/tracker/psycopg/ticket/226>
psycopg <http://initd.org/>
psycopg