Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure
(MemoryError).
Issue #18408: Fix zlib.compressobj() to handle PyThread_allocate_lock() failure
(MemoryError).
Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation
failure.
Issue #18408: Fix usage of _PyBytes_Resize()

_PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used
anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);".
Issue #18408: _PyUnicodeWriter_Finish() now clears its buffer attribute in all
cases, so _PyUnicodeWriter_Dealloc() can be called after finish.
Issue #18408: Fix _PyMem_DebugRealloc()

Don't mark old extra memory dead before calling realloc(). realloc() can fail
and realloc() must not touch the original buffer on failure.

So mark old extra memory dead only on success if the new buffer did not move
(has the same address).
Issue #18408: Fix select.select() to handle PyList_New() failure (MemoryError)
in set2list()
Add a spacing saving heuristic to deque's extend methods
use $(LN) makefile variable instead of ln
use $(LN) makefile variable instead of ln
Issue #18308: don't take the scope ID into account when comparing IPv6
addresses.
Issue #18308: don't take the scope ID into account when comparing IPv6
addresses.