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 christian.heimes
Recipients christian.heimes
Date 2007-12-07.11:49:58
SpamBayes Score 0.0666732
Marked as misclassified No
Message-id <1197028199.63.0.287230358639.issue1566@psf.upfronthosting.co.za>
In-reply-to
Content
The socket object is defined in socketmodule.h as

typedef struct {
        PyObject_HEAD
        SOCKET_T sock_fd;       /* Socket file descriptor */
        int sock_family;        /* Address family, e.g., AF_INET */
        int sock_type;          /* Socket type, e.g., SOCK_STREAM */
        int sock_proto;         /* Protocol type, usually 0 */
        PyObject *(*errorhandler)(void); /* Error handler; checks
                                            errno, returns NULL and
                                            sets a Python exception */
        double sock_timeout;             /* Operation timeout in seconds;
                                            0.0 means non-blocking */
} PySocketSockObject;

The PyTypeObject sock_type doesn't have support for cyclic GC. Shouldn't
types that can contain a PyObject* use GC?
History
Date User Action Args
2007-12-07 11:50:00christian.heimessetspambayes_score: 0.0666732 -> 0.0666732
recipients: + christian.heimes
2007-12-07 11:49:59christian.heimessetspambayes_score: 0.0666732 -> 0.0666732
messageid: <1197028199.63.0.287230358639.issue1566@psf.upfronthosting.co.za>
2007-12-07 11:49:59christian.heimeslinkissue1566 messages
2007-12-07 11:49:59christian.heimescreate