Skip to content

Commit 0effaaa

Browse files
Add a note.
1 parent 2e8d3f2 commit 0effaaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Include/internal/pycore_typeobject.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ struct type_cache {
4444

4545
typedef struct {
4646
PyTypeObject *type;
47+
// XXX tp_dict, tp_bases, and tp_mro can probably be statically
48+
// allocated, instead of dynamically and stored on the interpreter.
4749
PyObject *tp_dict;
4850
PyObject *tp_bases;
4951
PyObject *tp_mro;

0 commit comments

Comments
 (0)