SIGN IN SIGN UP

Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer

overflows.  Added few missed PyErr_NoMemory().
S
Serhiy Storchaka committed
4d0d9829851915e97ae392dd803976be6c95c8d1