diff options
author | Guido van Rossum <guido@python.org> | 2001-08-30 20:00:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-30 20:00:07 (GMT) |
commit | 6fb3fdec7c3aa9cbda9176f88076e5bee4743834 (patch) | |
tree | a08d7c982c91ca3c1f41cf236a11facfddbe0bd1 /Python/thread_lwp.h | |
parent | 702ca4ffcb4630dad3aa2967618777e0f44a1e3c (diff) | |
download | cpython-6fb3fdec7c3aa9cbda9176f88076e5bee4743834.zip cpython-6fb3fdec7c3aa9cbda9176f88076e5bee4743834.tar.gz cpython-6fb3fdec7c3aa9cbda9176f88076e5bee4743834.tar.bz2 |
Pytype_GenericAlloc(): round up size so we zap all four bytes of the
__dict__ slot for string subtypes.
subtype_dealloc(): properly use _PyObject_GetDictPtr() to get the
(potentially negative) dict offset. Don't copy things into local
variables that are used only once.
type_new(): properly calculate a negative dict offset when tp_itemsize
is nonzero. The __dict__ attribute, if present, is now a calculated
attribute rather than a structure member.
Diffstat (limited to 'Python/thread_lwp.h')
0 files changed, 0 insertions, 0 deletions