mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Add weakref support to sockets and re pattern objects.
This commit is contained in:
parent
cb87bc8e7e
commit
027bb633b6
7 changed files with 69 additions and 5 deletions
|
@ -29,6 +29,7 @@ typedef struct {
|
|||
/* compatibility */
|
||||
PyObject* pattern; /* pattern source (or None) */
|
||||
int flags; /* flags used when compiling pattern source */
|
||||
PyObject *weakreflist; /* List of weak references */
|
||||
/* pattern code */
|
||||
int codesize;
|
||||
SRE_CODE code[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue