You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I propose adding support for Zd and Zf formats in array, ctypes, memoryview and struct. It requires changing the code expecting a single character to now accept a string (Zd and Zf have 2 characters!).
DandFformats to the ctypes andstructmoduleDandFformats to thearraymodule and tomemoryviewThe
DandFformats were chosen for compatibility with numpy. Problem: in fact, numpy uses buffer formatsZdandZf. Example:So I propose adding support for
ZdandZfformats inarray,ctypes,memoryviewandstruct. It requires changing the code expecting a single character to now accept a string (ZdandZfhave 2 characters!).Linked PRs