summaryrefslogtreecommitdiffstats
path: root/Python/thread_lwp.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 20:00:07 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-30 20:00:07 (GMT)
commit6fb3fdec7c3aa9cbda9176f88076e5bee4743834 (patch)
treea08d7c982c91ca3c1f41cf236a11facfddbe0bd1 /Python/thread_lwp.h
parent702ca4ffcb4630dad3aa2967618777e0f44a1e3c (diff)
downloadcpython-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